/* ── Kisansathi Legal Pages — Shared Stylesheet ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green:        #2d6a4f;
    --green-mid:    #40916c;
    --green-light:  #74c69d;
    --green-pale:   #d8f3dc;
    --green-wash:   #f0faf3;
    --earth:        #8b5e3c;
    --text:         #1a2e1e;
    --text-mid:     #4a6356;
    --text-soft:    #7a9484;
    --border:       #c8e6d0;
    --bg:           #f7fdf9;
    --white:        #ffffff;
    --radius:       14px;
    --shadow-sm:    0 2px 8px rgba(45,106,79,0.08);
    --shadow-md:    0 6px 24px rgba(45,106,79,0.12);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAV */
.topnav {
    background: var(--green);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.topnav-brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--white); }
.brand-leaf { width:32px; height:32px; background:var(--green-light); border-radius:50% 50% 50% 8px; display:flex; align-items:center; justify-content:center; font-size:16px; }
.brand-text { font-family:'DM Serif Display',serif; font-size:20px; letter-spacing:-0.01em; color:var(--white); }
.topnav-tagline { font-size:12px; color:var(--green-light); font-weight:300; letter-spacing:0.04em; display:none; }
@media(min-width:600px){ .topnav-tagline { display:block; } }

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 60%, #52b788 100%);
    padding: 56px 32px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 20% 50%,rgba(255,255,255,.06) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(255,255,255,.04) 0%,transparent 40%); }
.hero::after { content:'🌿'; position:absolute; font-size:200px; opacity:.04; bottom:-40px; right:-20px; transform:rotate(-20deg); pointer-events:none; }
.hero-eyebrow { position:relative; display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2); color:#b7e4c7; font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding:5px 14px; border-radius:20px; margin-bottom:16px; }
.hero h1 { position:relative; font-family:'DM Serif Display',serif; font-size:clamp(28px,5vw,44px); color:var(--white); letter-spacing:-0.02em; line-height:1.15; margin-bottom:12px; }
.hero h1 em { font-style:italic; color:var(--green-light); }
.hero-meta { position:relative; font-size:13px; color:rgba(255,255,255,.6); font-weight:300; }

/* LAYOUT */
.page-wrap { max-width:820px; margin:0 auto; padding:48px 24px 64px; flex:1; width:100%; animation:fadeUp .5s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* TABLE OF CONTENTS */
.toc { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:20px 24px; margin-bottom:40px; box-shadow:var(--shadow-sm); }
.toc-title { font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-soft); font-weight:600; margin-bottom:12px; }
.toc-list { list-style:none; display:flex; flex-direction:column; gap:4px; }
.toc-list li a { font-size:13.5px; color:var(--green-mid); text-decoration:none; display:flex; align-items:center; gap:8px; padding:4px 0; transition:color .2s; }
.toc-list li a:hover { color:var(--green); }
.toc-num { font-size:11px; color:var(--text-soft); font-family:monospace; min-width:20px; }

/* SECTIONS */
.section { margin-bottom:40px; scroll-margin-top:80px; }
.section-header { display:flex; align-items:center; gap:12px; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid var(--green-pale); }
.section-number { width:32px; height:32px; border-radius:50%; background:var(--green); color:white; font-size:13px; font-weight:600; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.section h2 { font-family:'DM Serif Display',serif; font-size:22px; color:var(--text); letter-spacing:-0.01em; }
.section h3 { font-size:14px; font-weight:600; color:var(--green-mid); text-transform:uppercase; letter-spacing:.06em; margin:20px 0 8px; }
.section h4 { font-size:13.5px; font-weight:600; color:var(--text); margin:16px 0 6px; }
.section p { font-size:15px; color:var(--text-mid); margin-bottom:12px; }

/* LISTS */
.policy-list { list-style:none; display:flex; flex-direction:column; gap:10px; }
.policy-list li { display:flex; align-items:flex-start; gap:12px; background:var(--white); border:1px solid var(--border); border-radius:10px; padding:14px 16px; font-size:14.5px; color:var(--text-mid); box-shadow:var(--shadow-sm); line-height:1.6; }
.policy-list li::before { content:'✓'; width:22px; height:22px; background:var(--green-pale); color:var(--green); border-radius:50%; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.policy-list li strong { color:var(--text); font-weight:600; }
.policy-list.dot li::before { content:'·'; font-size:20px; line-height:1; }

/* INLINE UL (inside cards etc) */
.inline-list { list-style:none; padding-left:0; margin:8px 0; display:flex; flex-direction:column; gap:6px; }
.inline-list li { font-size:14px; color:var(--text-mid); padding-left:20px; position:relative; }
.inline-list li::before { content:'—'; position:absolute; left:0; color:var(--green-light); }

/* HIGHLIGHT BOX */
.highlight-box { background:linear-gradient(135deg,var(--green-wash),#eaf7ee); border:1px solid var(--green-pale); border-left:4px solid var(--green-mid); border-radius:var(--radius); padding:20px; margin:16px 0; }
.highlight-box p { margin:0; font-size:14.5px; color:var(--text-mid); }

/* COOKIE TABLE */
.cookie-table { width:100%; border-collapse:collapse; font-size:13.5px; margin:12px 0; }
.cookie-table th { background:var(--green-pale); color:var(--green); font-weight:600; font-size:11px; text-transform:uppercase; letter-spacing:.06em; padding:10px 14px; text-align:left; }
.cookie-table td { padding:10px 14px; border-bottom:1px solid var(--border); color:var(--text-mid); vertical-align:top; }
.cookie-table tr:last-child td { border-bottom:none; }
.cookie-table tr:hover td { background:var(--green-wash); }

/* CONTACT + ADDRESS */
.contact-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; margin-top:16px; }
.contact-item { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:18px 20px; display:flex; align-items:center; gap:14px; box-shadow:var(--shadow-sm); transition:border-color .2s,box-shadow .2s; text-decoration:none; color:inherit; }
.contact-item:hover { border-color:var(--green-light); box-shadow:var(--shadow-md); }
.contact-icon-wrap { width:40px; height:40px; background:var(--green-pale); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.contact-detail-label { font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-soft); font-weight:600; }
.contact-detail-value { font-size:14px; font-weight:500; color:var(--text); }
.address-block { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:20px 24px; display:flex; align-items:flex-start; gap:14px; box-shadow:var(--shadow-sm); margin-top:12px; }
.address-pin { font-size:24px; flex-shrink:0; margin-top:2px; }
.address-text { font-size:14.5px; color:var(--text-mid); line-height:1.6; }

/* FOOTER */
.footer { background:var(--text); color:rgba(255,255,255,.55); padding:28px 32px; margin-top:auto; }
.footer-links { display:flex; flex-wrap:wrap; gap:6px 24px; justify-content:center; margin-bottom:14px; }
.footer-links a { color:rgba(255,255,255,.7); text-decoration:none; font-size:13px; font-weight:500; transition:color .2s; }
.footer-links a:hover { color:var(--green-light); }
.footer-links a.active { color:var(--green-light); font-weight:600; }
.footer-divider { width:40px; height:1px; background:rgba(255,255,255,.1); margin:0 auto 14px; }
.footer-info { text-align:center; font-size:12px; line-height:1.8; color:rgba(255,255,255,.35); }
.footer-info strong { color:rgba(255,255,255,.55); font-weight:500; }

a { color:var(--green-mid); }
a:hover { color:var(--green); }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --green:        #2d6a4f;
            --green-mid:    #40916c;
            --green-light:  #74c69d;
            --green-pale:   #d8f3dc;
            --green-wash:   #f0faf3;
            --earth:        #8b5e3c;
            --earth-light:  #d4a574;
            --text:         #1a2e1e;
            --text-mid:     #4a6356;
            --text-soft:    #7a9484;
            --border:       #c8e6d0;
            --bg:           #f7fdf9;
            --white:        #ffffff;
            --radius:       14px;
            --shadow-sm:    0 2px 8px rgba(45,106,79,0.08);
            --shadow-md:    0 6px 24px rgba(45,106,79,0.12);
        }

        html { font-size: 16px; scroll-behavior: smooth; }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: 'DM Sans', sans-serif;
            font-weight: 400;
            line-height: 1.7;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* ── TOPNAV ── */
        .topnav {
            background: var(--green);
            padding: 0 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 16px rgba(0,0,0,0.18);
        }

        .topnav-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--white);
        }

        .brand-leaf {
            width: 32px;
            height: 32px;
            background: var(--green-light);
            border-radius: 50% 50% 50% 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .brand-text {
            font-family: 'DM Serif Display', serif;
            font-size: 20px;
            letter-spacing: -0.01em;
            color: var(--white);
        }

        .topnav-tagline {
            font-size: 12px;
            color: var(--green-light);
            font-weight: 300;
            letter-spacing: 0.04em;
            display: none;
        }

        @media (min-width: 600px) { .topnav-tagline { display: block; } }

        /* ── HERO BANNER ── */
        .hero {
            background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 60%, #52b788 100%);
            padding: 56px 32px 48px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
                              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
        }

        /* Leaf pattern */
        .hero::after {
            content: '🌿';
            position: absolute;
            font-size: 200px;
            opacity: 0.04;
            bottom: -40px;
            right: -20px;
            transform: rotate(-20deg);
            pointer-events: none;
        }

        .hero-eyebrow {
            position: relative;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.2);
            color: #b7e4c7;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 5px 14px;
            border-radius: 20px;
            margin-bottom: 16px;
        }

        .hero h1 {
            position: relative;
            font-family: 'DM Serif Display', serif;
            font-size: clamp(28px, 5vw, 44px);
            color: var(--white);
            letter-spacing: -0.02em;
            line-height: 1.15;
            margin-bottom: 12px;
        }

        .hero h1 em {
            font-style: italic;
            color: var(--green-light);
        }

        .hero-meta {
            position: relative;
            font-size: 13px;
            color: rgba(255,255,255,0.6);
            font-weight: 300;
        }

        /* ── MAIN LAYOUT ── */
        .page-wrap {
            max-width: 820px;
            margin: 0 auto;
            padding: 48px 24px 64px;
            flex: 1;
            width: 100%;
            animation: fadeUp 0.5s ease both;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* ── QUICK SUMMARY CARDS ── */
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 12px;
            margin-bottom: 48px;
        }

        .summary-card {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px 16px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .summary-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .summary-icon {
            font-size: 28px;
            margin-bottom: 8px;
            display: block;
        }

        .summary-value {
            font-family: 'DM Serif Display', serif;
            font-size: 22px;
            color: var(--green);
            display: block;
            line-height: 1.1;
        }

        .summary-label {
            font-size: 11px;
            color: var(--text-soft);
            font-weight: 500;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-top: 4px;
            display: block;
        }

        /* ── SECTION ── */
        .section {
            margin-bottom: 40px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--green-pale);
        }

        .section-number {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--green);
            color: white;
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .section h2 {
            font-family: 'DM Serif Display', serif;
            font-size: 22px;
            color: var(--text);
            letter-spacing: -0.01em;
        }

        .section h3 {
            font-size: 14px;
            font-weight: 600;
            color: var(--green-mid);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin: 20px 0 8px;
        }

        .section p {
            font-size: 15px;
            color: var(--text-mid);
            margin-bottom: 12px;
        }

        /* ── LIST ── */
        .policy-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .policy-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px 16px;
            font-size: 14.5px;
            color: var(--text-mid);
            box-shadow: var(--shadow-sm);
            line-height: 1.6;
        }

        .policy-list li::before {
            content: '✓';
            width: 22px;
            height: 22px;
            background: var(--green-pale);
            color: var(--green);
            border-radius: 50%;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .policy-list li strong {
            color: var(--text);
            font-weight: 600;
        }

        /* ── HIGHLIGHT BOX ── */
        .highlight-box {
            background: linear-gradient(135deg, var(--green-wash), #eaf7ee);
            border: 1px solid var(--green-pale);
            border-left: 4px solid var(--green-mid);
            border-radius: var(--radius);
            padding: 20px 20px;
            margin: 16px 0;
        }

        .highlight-box p {
            margin: 0;
            font-size: 14.5px;
            color: var(--text-mid);
        }

        /* ── ADDRESS ── */
        .address-block {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px 24px;
            display: flex;
            align-items: flex-start;
            gap: 14px;
            box-shadow: var(--shadow-sm);
            margin-top: 12px;
        }

        .address-pin {
            font-size: 24px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .address-text {
            font-size: 14.5px;
            color: var(--text-mid);
            line-height: 1.6;
        }

        /* ── CONTACT CARD ── */
        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 12px;
            margin-top: 16px;
        }

        .contact-item {
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 18px 20px;
            display: flex;
            align-items: center;
            gap: 14px;
            box-shadow: var(--shadow-sm);
            transition: border-color 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: inherit;
        }

        .contact-item:hover {
            border-color: var(--green-light);
            box-shadow: var(--shadow-md);
        }

        .contact-icon-wrap {
            width: 40px;
            height: 40px;
            background: var(--green-pale);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .contact-detail-label {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-soft);
            font-weight: 600;
        }

        .contact-detail-value {
            font-size: 14px;
            font-weight: 500;
            color: var(--text);
        }

        /* ── FOOTER ── */
        .footer {
            background: var(--text);
            color: rgba(255,255,255,0.55);
            padding: 28px 32px;
            margin-top: auto;
        }

        .footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 24px;
            justify-content: center;
            margin-bottom: 14px;
        }

        .footer-links a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: color 0.2s;
        }

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

        .footer-links a.active {
            color: var(--green-light);
            font-weight: 600;
        }

        .footer-divider {
            width: 40px;
            height: 1px;
            background: rgba(255,255,255,0.1);
            margin: 0 auto 14px;
        }

        .footer-info {
            text-align: center;
            font-size: 12px;
            line-height: 1.8;
            color: rgba(255,255,255,0.35);
        }

        .footer-info strong {
            color: rgba(255,255,255,0.55);
            font-weight: 500;
        }

        a { color: var(--green-mid); }
        a:hover { color: var(--green); }