/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ─────────────────────────────────────────────────────────────────
       RAW PALETTE — the only literal color/rgba values in the file.
       Everything below this block (and every other rule in the
       stylesheet) should reference a SEMANTIC token, never one of these
       directly, and never a hand-typed hex/rgba. Swapping themes means
       editing this file's semantic block only — raw palette rarely
       needs to change since it's tied to the app's actual brand colors
       (lib/core/theme/land_grid_palette.dart: forest/gold/canvas).
       ───────────────────────────────────────────────────────────────── */
    --palette-forest: #2e7d32;
    --palette-forest-dark: #1b5e20;
    --palette-forest-light: #4caf50;
    --palette-forest-deep: #1b4d2e;
    --palette-forest-deeper: #0f331e;
    --palette-gold: #c9a24b;
    --palette-gold-light: #e2c17a;
    --palette-canvas: #f1f5f0;
    --palette-canvas-tint: #e9f3e7;
    --palette-canvas-tint-dark: #d4e8d0;
    --palette-canvas-tint-darker: #b8d8b0;
    --palette-white: #ffffff;
    --palette-ink: #1a1a2e;
    --palette-ink-light: #555;
    --palette-ink-muted: #888;
    --palette-gray-50: #f8faf8;
    --palette-gray-100: #f0f4f0;
    --palette-gray-200: #e2e8e0;

    /* ─────────────────────────────────────────────────────────────────
       SEMANTIC TOKENS — what a color/surface DOES, not what it looks
       like. Every rule in the stylesheet should consume these. This is
       the light theme: dark green is used as an accent/text/icon color
       on light surfaces, not as a background.
       ───────────────────────────────────────────────────────────────── */

    /* Brand */
    --color-brand: var(--palette-forest);
    --color-brand-strong: var(--palette-forest-dark);
    --color-brand-deep: var(--palette-forest-deep);
    --color-accent: var(--palette-gold);
    --color-accent-light: var(--palette-gold-light);

    /* Page + surfaces */
    --color-page-bg: var(--palette-canvas);
    --surface-1: var(--palette-white);
    --surface-2: var(--palette-gray-50);
    --surface-tint: var(--palette-canvas-tint);
    --surface-tint-strong: var(--palette-canvas-tint-dark);
    --surface-tint-stronger: var(--palette-canvas-tint-darker);
    --surface-dark: var(--palette-forest-deep);
    --surface-dark-deeper: var(--palette-forest-deeper);

    /* Text */
    --text-heading: var(--palette-ink);
    --text-body: var(--palette-ink-light);
    --text-muted: var(--palette-ink-muted);
    --text-on-brand: var(--palette-white);
    --text-on-accent: var(--palette-forest-deeper);
    --text-link: var(--color-brand);
    --text-link-hover: var(--palette-forest-dark);

    /* Borders */
    --border-subtle: var(--palette-gray-200);
    --border-brand: var(--palette-canvas-tint-darker);
    --border-accent: rgba(201,162,75,0.35);

    /* Glass surfaces — light theme: frosted white over the canvas, not
       frosted dark. */
    --glass-surface: rgba(255,255,255,0.6);
    --glass-surface-strong: rgba(255,255,255,0.85);
    --glass-border: rgba(27,77,46,0.1);
    --glass-border-accent: rgba(201,162,75,0.35);
    --glass-blur: blur(20px);

    /* Navbar (its own tokens since it's the one element whose
       "resting" vs "scrolled" state both need distinct values) */
    --nav-bg-top: rgba(255,255,255,0.88);
    --nav-bg-scrolled: rgba(255,255,255,0.97);
    --nav-border: rgba(27,77,46,0.1);
    --nav-border-scrolled: rgba(201,162,75,0.35);
    --nav-text: var(--palette-forest-deep);
    --nav-text-muted: rgba(27,77,46,0.72);

    /* Glow / elevation accents */
    --glow-accent: 0 0 0 1px var(--border-accent), 0 8px 32px rgba(201,162,75,0.18);
    --glow-accent-hover: 0 0 0 1px rgba(201,162,75,0.5), 0 12px 40px rgba(201,162,75,0.28);
    --shadow-sm: 0 1px 3px rgba(27,77,46,0.08);
    --shadow-md: 0 4px 12px rgba(27,77,46,0.1);
    --shadow-lg: 0 8px 30px rgba(27,77,46,0.12);
    --shadow-xl: 0 20px 60px rgba(27,77,46,0.15);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* ── Back-compat aliases — old token names still referenced in a few
       untouched rules below during the light-theme migration. Points at
       the same semantic values above; remove once every rule in this
       file is confirmed migrated to the new names. */
    --primary: var(--color-brand);
    --primary-dark: var(--color-brand-strong);
    --primary-light: var(--palette-forest-light);
    --theme: var(--surface-tint);
    --theme-dark: var(--surface-tint-strong);
    --theme-darker: var(--surface-tint-stronger);
    --text: var(--text-heading);
    --text-light: var(--text-body);
    --white: var(--surface-1);
    --gray-50: var(--surface-2);
    --gray-100: var(--palette-gray-100);
    --gray-200: var(--border-subtle);
    --forest: var(--color-brand);
    --forest-deep: var(--color-brand-deep);
    --forest-deeper: var(--surface-dark-deeper);
    --gold: var(--color-accent);
    --gold-light: var(--color-accent-light);
    --canvas: var(--color-page-bg);
    --hairline: var(--border-subtle);
    --glass-bg: var(--glass-surface);
    --glass-bg-strong: var(--glass-surface-strong);
    --glass-bg-light: var(--glass-surface);
    --glass-border-light: var(--glass-surface-strong);
    --glow-gold: var(--glow-accent);
    --glow-gold-hover: var(--glow-accent-hover);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--canvas);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg-top);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--nav-border);
    transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--nav-border-scrolled);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.nav-logo img {
    height: 48px;
    width: auto;
    /* Logo artwork is already a dark-green mark on transparent — reads
       correctly as-is on the light navbar, no filter needed. */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-heading);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--color-brand);
    background: var(--surface-tint);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent)) !important;
    color: var(--text-on-accent) !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 18px rgba(201,162,75,0.35);
}

.nav-cta:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 24px rgba(201,162,75,0.5);
    color: var(--text-on-accent) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background:
        radial-gradient(circle at 15% 20%, rgba(201,162,75,0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(46,125,50,0.06) 0%, transparent 50%),
        linear-gradient(170deg, var(--surface-tint) 0%, var(--surface-1) 55%, var(--surface-2) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201,162,75,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46,125,50,0.05) 0%, transparent 40%),
        linear-gradient(rgba(27,77,46,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(27,77,46,0.025) 1px, transparent 1px);
    background-size: auto, auto, 44px 44px, 44px 44px;
    pointer-events: none;
}

/* Soft floating glow orbs for depth — purely decorative, sit behind content */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(201,162,75,0.16) 0%, transparent 70%);
}

.hero::after {
    width: 360px;
    height: 360px;
    bottom: -140px;
    left: -100px;
    background: radial-gradient(circle, rgba(46,125,50,0.12) 0%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-surface-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-brand);
    color: var(--color-brand);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.hero-badge-free {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: var(--text-on-accent);
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(201,162,75,0.35);
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.hero h1 .highlight {
    color: var(--color-brand);
    position: relative;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all 0.25s;
    border: 2px solid transparent;
}

.store-btn svg {
    flex-shrink: 0;
}

.store-btn small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.store-btn strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.google-play,
.app-store {
    background: var(--surface-dark);
    border-color: transparent;
    color: var(--text-on-brand);
}

.google-play:hover,
.app-store:hover {
    background: var(--surface-dark-deeper);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Hero illustration — a single pre-composed image (phone + 3D map diorama
   baked into the art itself), not a screenshot dropped into a device
   bezel, so it's floated and shadowed directly rather than wrapped in a
   phone-frame mockup. */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 50px rgba(27,77,46,0.25));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--theme);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== HERO MEDIA PARTNERS ===== */
.hero-media-partners {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.hero-media-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.hero-media-partners a {
    display: flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hero-media-partners a:hover {
    opacity: 1;
}

.hero-media-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.1);
    transition: filter 0.2s;
}

.hero-media-partners a:hover .hero-media-logo {
    filter: grayscale(0%) brightness(1);
}

/* ===== SECTION SEAM FIX =====
   Adjacent <section>s with different backgrounds can leave a 1px sub-pixel
   rendering gap at their shared edge (the browser rounds each section's box
   independently) — visible as a hairline of the wrong color, especially
   where a dark section meets a light one. Each section below overlaps the
   previous one by 2px and paints on top (z-index stacked in document
   order), so the gap is always covered by the later section's own
   background instead of showing through. */
.hero,
.features,
.reels,
.village-map,
.how-it-works,
.video-tutorial,
.screenshots,
.download-cta,
.footer {
    position: relative;
}

.features,
.reels,
.village-map,
.how-it-works,
.video-tutorial,
.screenshots,
.download-cta,
.footer {
    margin-top: -2px;
}

.hero { z-index: 1; }
.features { z-index: 2; }
.reels { z-index: 3; }
.village-map { z-index: 4; }
.how-it-works { z-index: 5; }
.video-tutorial { z-index: 6; }
.screenshots { z-index: 7; }
.download-cta { z-index: 8; }
.footer { z-index: 9; }

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--canvas);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg-light);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border-light);
    box-shadow: 0 4px 24px rgba(27,77,46,0.06);
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.75);
    border-color: rgba(201,162,75,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(27,77,46,0.12), 0 0 0 1px rgba(201,162,75,0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--theme);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--forest-deeper);
    box-shadow: 0 4px 14px rgba(201,162,75,0.4);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-card p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.feature-card p a:hover {
    text-decoration: underline;
}

/* Highlighted (paid) feature card */
.feature-card {
    position: relative;
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--forest-deeper);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(201,162,75,0.35);
}

/* Free tag — lighter, outlined style to contrast with the paid badge */
.feature-badge-free {
    background: rgba(255,255,255,0.7);
    color: var(--primary);
    border: 1px solid var(--theme-darker);
    backdrop-filter: blur(6px);
}

.feature-card:hover .feature-badge-free {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===== PROPERTY REELS =====
   Dark green band — the new lead-in dark section, alternating with the
   light Features section before it and the (now light) Village Map
   section after it. */
.reels {
    padding: 100px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(201,162,75,0.1) 0%, transparent 45%),
        var(--surface-dark);
    overflow: hidden;
}

.reels-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.reels-content .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--color-accent-light);
    border: 1px solid rgba(255,255,255,0.15);
}

.reels-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 16px 0;
    color: var(--text-on-brand);
}

.reels-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.reels-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-bottom: 36px;
}

.reels-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
}

.reels-list svg {
    flex-shrink: 0;
    color: var(--color-accent-light);
    margin-top: 2px;
}

.reels-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.reels-actions .store-btn.google-play,
.reels-actions .store-btn.app-store {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: var(--text-on-brand);
}

.reels-actions .store-btn.google-play:hover,
.reels-actions .store-btn.app-store:hover {
    background: rgba(255,255,255,0.18);
}

/* ── Tilted phone mockup ─────────────────────────────────────────────── */
.reels-visual {
    display: flex;
    justify-content: center;
}

/* Shared device-frame PNG (images/mockup.png) — same bezel asset as the
   Screenshots section, same measured screen-cutout insets. At this
   mockup's fixed 260px width the screen cutout is a known 488px tall,
   which the scroll track/keyframes below are pinned to. */
.reels-mockup {
    position: relative;
    width: 260px;
    aspect-ratio: 700 / 1422;
    transform: rotate(6deg);
    filter: drop-shadow(0 40px 70px rgba(0,0,0,0.45)) drop-shadow(0 0 50px rgba(201,162,75,0.15));
}

.reels-mockup-bezel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Same measured alpha-transition insets as the Screenshots section's
   .slider-overflow — see that rule's comment for the full explanation. */
.reels-mockup-screen {
    position: absolute;
    left: 5.6%;
    right: 5.9%;
    top: 4.6%;
    bottom: 2.5%;
    background: #000;
    border-radius: 6% / 3%;
    overflow: hidden;
    z-index: 1;
}

/* Vertical feed track — 4 cards (3 unique + 1 duplicate of the first),
   each exactly one screen-height tall, scrolled upward on an infinite
   loop. The 4th card is a pixel-identical duplicate of the 1st, and the
   keyframes hold on it for exactly as long as they hold on the real 1st
   card at 0% — so the instant loop restart (100% -> 0%) swaps between two
   identical frames and reads as a seamless continuation, not a jump-cut.
   Each of the 4 "hold" windows gets an equal, generous share of a slower
   20s cycle so every card is readable before the next swipe-up. */
.reels-track {
    display: flex;
    flex-direction: column;
    height: 1952px; /* 4 × 488px */
    animation: reels-scroll 20s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes reels-scroll {
    0%,  19%   { transform: translateY(0); }
    25%, 44%   { transform: translateY(-488px); }
    50%, 69%   { transform: translateY(-976px); }
    75%, 100%  { transform: translateY(-1464px); }
}

.reel-card {
    position: relative;
    flex: 0 0 488px;
    height: 488px;
    display: flex;
    align-items: flex-end;
    padding: 16px 14px;
    overflow: hidden;
}

.reel-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Bottom gradient scrim so the uploader/chip overlay text stays legible
   over any part of the photo, matching the real app's ReelVideoTile
   overlay treatment. */
.reel-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.7) 100%);
    z-index: 0;
}

.reel-card-info,
.reel-card-actions {
    position: relative;
    z-index: 1;
}

.reel-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 70%;
}

.reel-chip {
    display: inline-block;
    width: fit-content;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-on-brand);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
}

.reel-uploader {
    color: var(--text-on-brand);
    font-size: 0.72rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.reel-card-actions {
    position: absolute;
    right: 10px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.reel-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-on-brand);
}

.reel-action svg {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.reel-action b {
    font-size: 0.62rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ===== VILLAGE MAP PDF =====
   Light band — alternates with the dark Property Reels section before it
   and the light How It Works section after it, so the page reads as a
   deliberate light/dark rhythm rather than one long pale wash. */
.village-map {
    padding: 100px 0;
    background: var(--color-page-bg);
}

.village-map-container {
    max-width: 1200px;
}

.village-map-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(160deg, var(--surface-1), var(--surface-tint));
    border: 1px solid rgba(201,162,75,0.3);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    box-shadow: 0 20px 60px rgba(27,77,46,0.08);
}

.village-map-col-pitch {
    text-align: left;
}

.village-map-col-cta {
    text-align: center;
    padding-left: 32px;
    border-left: 1px solid var(--border-subtle);
}

.village-map-content .section-tag {
    margin: 0 0 16px;
}

.village-map-content h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.village-map-lead {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 28px;
}

.village-map-list {
    list-style: none;
    display: grid;
    gap: 14px;
    text-align: left;
}

.village-map-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-heading);
    line-height: 1.5;
}

.village-map-list svg {
    flex-shrink: 0;
    color: var(--color-brand);
    margin-top: 2px;
}

.village-map-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.village-map-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.village-map-content .section-tag {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: var(--text-on-accent);
    box-shadow: 0 2px 10px rgba(201,162,75,0.35);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    position: relative;
    padding: 100px 0;
    background: var(--surface-tint);
    overflow: hidden;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 48px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 44px 28px 36px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.step-card::before {
    /* Top accent bar — a quiet brand-color cue on every card so the
       set reads as a designed sequence, not three plain white boxes. */
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    width: 52px;
    height: 52px;
    background: var(--color-brand);
    color: var(--text-on-brand);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 6px 16px rgba(46,125,50,0.35);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

/* ===== VIDEO TUTORIAL ===== */
.video-tutorial {
    padding: 100px 0;
    background: var(--canvas);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 10px;
    background: var(--glass-bg-light);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201,162,75,0.3);
    box-shadow: var(--glow-gold), 0 20px 60px rgba(27,77,46,0.1);
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: none;
    border-radius: 12px;
}

/* ===== SCREENSHOTS =====
   Dark green band — alternates with the light Video Tutorial section
   before it and the light Download CTA section after it. */
.screenshots {
    padding: 100px 0;
    background: var(--surface-dark);
}

.screenshots .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--color-accent-light);
    border: 1px solid rgba(255,255,255,0.15);
}

.screenshots .section-header h2 {
    color: var(--text-on-brand);
}

.screenshots .section-header p {
    color: rgba(255,255,255,0.72);
}

/* ===== SCREENSHOTS LAYOUT (highlights + phone) ===== */
.screenshots-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.screenshots-highlights {
    list-style: none;
    display: grid;
    gap: 20px;
}

.screenshots-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
}

.screenshots-highlights svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent-light);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    padding: 6px;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
}

/* ===== PHONE MOCKUP + SLIDER =====
   Real device-frame PNG (images/mockup.png) instead of a hand-drawn CSS
   bezel — the screenshot slider sits UNDER it, positioned to the frame's
   actual transparent screen cutout (measured once from the source art:
   left 5.9% / right 6.1% / top 5.0% / bottom 2.7% insets), and the bezel
   image paints on top so its frame edges cover the screenshot's corners. */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    user-select: none;
}

.mockup-phone {
    position: relative;
    width: 100%;
    aspect-ratio: 700 / 1422;
    filter: drop-shadow(0 40px 70px rgba(0,0,0,0.45)) drop-shadow(0 0 50px rgba(201,162,75,0.15));
}

.mockup-phone-bezel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Slider inside screen — positioned to the bezel's measured screen cutout.
   Values below are the fully-OPAQUE-to-fully-TRANSPARENT alpha transition
   band on each edge of images/mockup.png (measured directly from the PNG's
   alpha channel), with the inset pulled slightly PAST the clean-transparent
   point (i.e. a smaller inset than measured) so the screenshot layer
   extends a hair further out, under the bezel's semi-transparent
   antialiased fringe, instead of stopping right at it. Stopping exactly at
   the measured edge left a visible sliver of the section background
   showing through that fringe, worst at the top near the notch. */
.slider-overflow {
    position: absolute;
    left: 5.6%;
    right: 5.9%;
    top: 4.6%;
    bottom: 2.5%;
    overflow: hidden;
    border-radius: 6% / 3%;
    z-index: 1;
}

.slider-track {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Prev / next buttons */
.slider-btn {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-brand);
    transition: all 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    color: var(--text-on-accent);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(201,162,75,0.4);
}

/* Overlaid on the screen edges (not floated outside the mockup) — the
   phone now sits in a 2-column layout beside the highlights list, so
   there's no guaranteed empty margin on either side to float buttons
   into like the old centered single-column layout had. */
.slider-prev { left: 12%; }
.slider-next { right: 12%; }

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.slider-dot.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 0 8px rgba(201,162,75,0.6);
    transform: scale(1.3);
}

/* ===== DOWNLOAD CTA ===== */
.download-cta {
    padding: 100px 0;
    background: var(--color-page-bg);
}

/* The one deliberately dark-green surface on the page — a solid brand-color
   card as the final call-to-action, not a full-bleed section. Everything
   else on the site is light; this card is the "use dark green for
   elements" accent at its strongest. */
.cta-card {
    background: linear-gradient(135deg, var(--surface-dark) 0%, var(--color-brand) 100%);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(27,77,46,0.3);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    filter: blur(20px);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    filter: blur(20px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-on-brand);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .store-btn {
    background: var(--surface-1);
    color: var(--text-heading);
    border-color: transparent;
}

.cta-buttons .store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--surface-2);
}

/* ===== FOOTER ===== */
/* Deliberately dark — the one other intentional dark-green surface
   besides the download CTA card, kept as a bookend at the request of the
   user while every other section runs light. */
.footer {
    background: var(--surface-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-accent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    /* Logo artwork is a dark-green mark on transparent — invisible on the
       dark footer, so flip it to light for this context. */
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-disclaimer {
    font-size: 0.78rem;
    font-style: italic;
    opacity: 0.6;
}

.footer-links-group h4 {
    color: var(--text-on-brand);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group .footer-subhead {
    margin-top: 24px;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--color-accent-light);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: transparent;
    color: var(--text-on-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.5;
}

.footer-bottom a {
    color: var(--color-accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-bottom a:hover {
    color: var(--text-on-brand);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-media-partners {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reels-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .reels-lead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .reels-list {
        text-align: left;
        max-width: 420px;
        margin: 0 auto 36px;
    }

    .reels-actions {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .village-map-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .village-map-col-pitch {
        text-align: center;
    }

    .village-map-col-cta {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(201,162,75,0.25);
        padding-top: 32px;
    }

    .village-map-content .section-tag {
        margin: 0 auto 16px;
    }

    .village-map-list {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--nav-bg-scrolled);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--nav-border-scrolled);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(5px) translateX(5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-5px) translateX(5px);
    }

    /* Logo centers in the bar once the nav links collapse behind the
       hamburger — otherwise it sits stranded on the left with the toggle
       alone on the right. Absolute-center it and let the toggle keep its
       normal flex position on the right. */
    .nav-container {
        position: relative;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hero {
        padding-top: 130px;
        min-height: auto;
    }

    .hero-illustration {
        max-width: 340px;
    }

    .reels {
        padding: 70px 0;
    }

    .reels-mockup {
        width: 220px;
        transform: rotate(4deg);
    }

    /* Screen/track/keyframes are all fixed-px (see the base rules' why),
       so shrinking the mockup to 220px needs matching pixel values here
       too — recomputed against the shared bezel's measured screen inset
       at this width (220px mockup -> 447px tall -> 413px screen height). */
    .reels-track {
        height: 1652px; /* 4 × 413px */
        animation-name: reels-scroll-mobile;
    }

    @keyframes reels-scroll-mobile {
        0%,  19%   { transform: translateY(0); }
        25%, 44%   { transform: translateY(-413px); }
        50%, 69%   { transform: translateY(-826px); }
        75%, 100%  { transform: translateY(-1239px); }
    }

    .reel-card {
        flex-basis: 413px;
        height: 413px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .village-map {
        padding: 70px 0;
    }

    .village-map-content {
        padding: 36px 24px;
    }

    .village-map-content h2 {
        font-size: 1.6rem;
    }

    .village-map-actions {
        flex-direction: column;
        align-items: center;
    }

    .village-map-actions .store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .video-tutorial {
        padding: 60px 0;
    }

    .screenshots-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .screenshots-highlights {
        max-width: 420px;
        margin: 0 auto;
        text-align: left;
    }

    .slider-container {
        max-width: 280px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .cta-card {
        padding: 50px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .store-btn {
        padding: 10px 18px;
    }

    .store-btn strong {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}

/* Village Map — Buy Online CTA */
.village-map-buy-online{
  display:inline-block;background:linear-gradient(135deg,var(--gold-light),var(--gold));color:var(--forest-deeper);font-weight:700;
  padding:14px 26px;border-radius:12px;text-decoration:none;font-size:16px;
  box-shadow:0 4px 18px rgba(201,162,75,.4);transition:transform .15s,box-shadow .15s;
}
.village-map-buy-online:hover{transform:translateY(-2px);box-shadow:0 8px 26px rgba(201,162,75,.5)}
.village-map-or{font-size:13px;color:#7a8a76;margin:12px 0 8px}

/* ===== LEGAL PAGES (Terms, Privacy, SLA) ===== */
.legal-page {
    padding-top: 80px; /* clear the fixed navbar */
    background: var(--gray-50);
}

.legal-hero {
    background: linear-gradient(170deg, var(--theme) 0%, var(--white) 100%);
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-hero .section-tag {
    display: inline-block;
    background: var(--theme-dark);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.legal-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.legal-hero .legal-meta {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-body {
    padding: 44px 0 72px;
}

.legal-card {
    max-width: 880px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 48px 52px 56px;
}

.legal-card > p { margin-bottom: 14px; color: var(--text-light); }

.legal-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 12px;
}

.legal-card h2:first-of-type { margin-top: 8px; }

.legal-card ul { margin: 6px 0 16px; }

.legal-card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    color: var(--text-light);
}

.legal-card li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.legal-card a { color: var(--primary); font-weight: 500; }
.legal-card a:hover { color: var(--primary-dark); text-decoration: underline; }

.legal-card strong { color: var(--text); }

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 20px;
    font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    color: var(--text-light);
}

.legal-table th {
    background: var(--theme);
    color: var(--primary-dark);
    font-weight: 700;
}

.legal-table tr:nth-child(even) td { background: var(--gray-50); }

.legal-notice {
    margin-top: 36px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    line-height: 1.6;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.legal-notice svg { flex-shrink: 0; margin-top: 2px; }

.legal-notice.warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #8a6d00;
}

.legal-notice.info {
    background: var(--theme);
    border: 1px solid var(--theme-darker);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .legal-hero h1 { font-size: 1.7rem; }
    .legal-card { padding: 30px 22px 40px; border-radius: var(--radius-md); }
    .legal-card h2 { font-size: 1.05rem; }
    .legal-table { font-size: 0.85rem; }
    .legal-table th, .legal-table td { padding: 9px 10px; }
}

/* ───────────────────────────── Village Map purchase page ─────────────────────────────
   (moved out of village-map.php for shared styling consistency) */
  /* Page-specific styles only — navbar/footer come from style.css */
  /* The site navbar is position:fixed (80px tall). Clear it so the card isn't
     hidden behind the header (the homepage uses a hero with top padding). */
  .wrap{max-width:760px;margin:0 auto;padding:112px 16px 48px}
  .card{background:#fff;border:1px solid #dfe7dc;border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
  h1{font-size:22px;color:#1B5E20;margin-bottom:6px}
  .sub{color:#5b6b58;font-size:14px;margin-bottom:18px}
  label{display:block;font-weight:600;font-size:13px;margin:14px 0 5px}
  select,input{width:100%;padding:11px 12px;border:1px solid #cfd9cc;border-radius:9px;font-size:15px;background:#fff}
  select:disabled{background:#f2f4f1;color:#9aa897}
  .row{display:flex;gap:12px;flex-wrap:wrap}
  .row>div{flex:1;min-width:180px}
  .quote{margin-top:18px;padding:14px;border-radius:10px;background:#f1f7ee;border:1px solid #d7e7cf;display:none}
  .quote.show{display:block}
  .quote .count{font-size:13px;color:#46603f}
  .quote .price{font-size:26px;font-weight:800;color:#1B5E20;margin-top:2px}
  .quote .tier{font-size:12px;color:#6a7a66}
  .pill{display:inline-block;background:#E8F5E9;color:#2E7D32;font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;margin-bottom:10px}
  .btn{display:block;width:100%;margin-top:18px;padding:14px;border:0;border-radius:11px;background:#2E7D32;color:#fff;font-size:16px;font-weight:700;cursor:pointer}
  .btn:disabled{background:#a9c4a6;cursor:not-allowed}
  .btn.secondary{background:#fff;color:#2E7D32;border:1px solid #2E7D32}
  .email-note{font-size:12.5px;color:#46603f;margin-top:8px;background:#f1f7ee;border:1px solid #d7e7cf;border-radius:8px;padding:9px 11px;line-height:1.45}
  .err{color:#b3261e;font-size:13px;margin-top:8px;display:none}
  .err.show{display:block}
  .overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:50}
  .overlay.show{display:flex}
  .modal{background:#fff;border-radius:14px;max-width:420px;width:92%;padding:24px;text-align:center}
  .modal h3{color:#1B5E20;margin-bottom:8px}
  .modal p{font-size:14px;color:#46603f;margin-bottom:14px}
  .spin{width:34px;height:34px;border:4px solid #d7e7cf;border-top-color:#2E7D32;border-radius:50%;margin:0 auto 12px;animation:sp 1s linear infinite}
  @keyframes sp{to{transform:rotate(360deg)}}
  .pay-note{background:#F1F7EE;border:1px solid #d7e7cf;border-radius:9px;padding:10px;font-size:12.5px;color:#46603f;margin-top:14px;text-align:center}
  .refund-note{font-size:13px;color:#8a3a1a;background:#FFF3E0;border:1px solid #F5C77E;border-radius:9px;padding:10px 12px;margin-top:10px;line-height:1.45}
  /* Pricing table (matches the in-app pricing modal) */
  .pricing-block{margin-top:22px;border-top:1px solid #e7eee4;padding-top:16px}
  .pricing-block h3{font-size:16px;color:#1B5E20;display:flex;align-items:center;gap:6px}
  .pricing-block h3::before{content:"🏷️"}
  .pricing-sub{font-size:12.5px;color:#6a7a66;margin:4px 0 10px}
  .pricing-table{width:100%;border-collapse:collapse}
  .pricing-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.4px;color:#2E7D32;padding:8px;border-bottom:2px solid #E8F5E9}
  .pricing-table th.amt,.pricing-table td.amt{text-align:right}
  .pricing-table td{padding:11px 8px;border-bottom:1px solid #eef2ec;font-size:14.5px}
  .pricing-table td.amt{font-weight:800;color:#1B5E20}
  .pricing-table tr.active td{background:#f1f7ee}
  .pricing-table tr.active td:first-child{font-weight:700;color:#1B5E20;border-left:3px solid #2E7D32}
  /* Enlarged legal disclaimer */
  .disclaimer-big{font-size:14px;line-height:1.6;color:#5b6b58;margin-top:22px;background:#FAFBF9;border:1px solid #e7eee4;border-radius:10px;padding:14px 16px}
  .sample-hint{font-size:12px;color:#6a7a66;margin:6px 0 4px;text-align:center}
