/* ==========================================================================
   MaxFate Private Limited — Homepage stylesheet
   Pure CSS, no dependencies. Mobile-first.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    /* Brand palette — sampled from the MaxFate logo
       Orange "MAX" + Blue "FATE" + Green tagline */
    --brand-blue-900: #0f2c5c;   /* deep navy-blue for dark sections */
    --brand-blue-800: #173e80;
    --brand-blue-700: #2056a6;   /* mid blue */
    --brand-blue-500: #3b82e0;   /* logo "FATE" blue */
    --brand-blue-100: #e8f0fb;

    --brand-orange-700: #b8480d;
    --brand-orange-600: #d45a12;
    --brand-orange-500: #ee6c1f; /* logo "MAX" orange */
    --brand-orange-100: #fce7d5;

    --brand-green-700: #167339;
    --brand-green-600: #1a8a47;
    --brand-green-500: #22a356;  /* logo tagline green */
    --brand-green-100: #dcf1e3;

    /* Legacy aliases kept so existing rules keep working */
    --navy-900: var(--brand-blue-900);
    --navy-800: var(--brand-blue-800);
    --navy-700: var(--brand-blue-700);
    --navy-100: var(--brand-blue-100);
    --gold-500: var(--brand-orange-500);
    --gold-600: var(--brand-orange-600);
    --gold-100: var(--brand-orange-100);

    --ink-900: #0e1116;
    --ink-700: #2a313b;
    --ink-500: #5a6472;
    --ink-300: #97a0ad;

    --bg: #ffffff;
    --bg-muted: #f7f8fb;
    --border: #e4e7ee;
    --border-strong: #d3d8e2;

    /* Typography — Nunito for Latin, Tiro Devanagari Sanskrit fallback for Hindi */
    --font-display: "Nunito", "Tiro Devanagari Sanskrit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: "Nunito", "Tiro Devanagari Sanskrit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-devanagari: "Tiro Devanagari Sanskrit", "Nunito", serif;

    /* Layout */
    --container: 1140px;
    --radius: 6px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
    --shadow-md: 0 8px 30px rgba(11, 31, 58, 0.08);

    /* Spacing scale */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 96px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-900);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--navy-800);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--gold-600);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--brand-blue-900);
    line-height: 1.15;
    margin: 0 0 var(--s-4);
    font-weight: 800;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }

p { margin: 0 0 var(--s-4); }

ul { padding-left: 1.1rem; margin: 0 0 var(--s-4); }

blockquote { margin: 0; }

dl { margin: 0; }
dt, dd { margin: 0; }

em {
    font-style: normal;
    font-weight: 900;
    color: var(--brand-orange-500);
}
.display em:nth-of-type(2) { color: var(--brand-blue-700); }

/* ---------- Utilities ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s-5);
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: var(--s-4);
}

.eyebrow-on-dark { color: var(--gold-500); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy-900);
    color: #fff;
    padding: var(--s-3) var(--s-5);
    z-index: 999;
}
.skip-link:focus { left: var(--s-5); top: var(--s-5); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 12px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
}

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

.btn-primary {
    background: var(--brand-orange-500);
    color: #fff;
    border-color: var(--brand-orange-500);
    box-shadow: 0 2px 0 var(--brand-orange-700);
}
.btn-primary:hover {
    background: var(--brand-orange-600);
    border-color: var(--brand-orange-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(238, 108, 31, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-blue-700);
    border-color: var(--brand-blue-700);
}
.btn-secondary:hover {
    background: var(--brand-blue-700);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    background: var(--navy-900);
    color: #fff;
    border-color: var(--navy-900);
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--navy-700); }

.brand-logo {
    display: block;
    height: 38px;
    width: auto;
    max-width: 220px;
}

.brand-logo-footer {
    height: 42px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.primary-nav {
    display: none;
    align-items: center;
    gap: var(--s-6);
}
.primary-nav a {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--ink-700);
}
.primary-nav a:hover { color: var(--navy-900); }

.nav-cta { display: none; }

@media (min-width: 820px) {
    .primary-nav { display: inline-flex; }
    .nav-cta { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section {
    padding: var(--s-9) 0;
}
.section-muted {
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-dark {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    color: #e7ecf3;
}
.section-dark h2 { color: #fff; }
.section-dark a { color: var(--gold-500); }
.section-dark a:hover { color: #fff; }

.section-head {
    max-width: 720px;
    margin: 0 auto var(--s-7);
    text-align: center;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
}
@media (min-width: 820px) {
    .two-col {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--s-8);
        align-items: start;
    }
}

.prose p:last-child { margin-bottom: 0; }
.lede {
    font-size: 1.12rem;
    color: var(--ink-700);
    max-width: 56ch;
}
.lede-on-dark {
    font-size: 1.12rem;
    color: #c8d0dc;
    max-width: 56ch;
}

/* ---------- Hero ---------- */
.hero {
    /* Fit above the fold: fill viewport minus the 72px sticky header */
    min-height: calc(100vh - 72px);
    padding: var(--s-6) 0 var(--s-7);
    display: flex;
    align-items: center;
    background:
        radial-gradient(900px 400px at 88% -15%, rgba(238, 108, 31, 0.10), transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(59, 130, 224, 0.10), transparent 60%),
        radial-gradient(500px 300px at 40% 100%, rgba(34, 163, 86, 0.05), transparent 65%),
        #fdfdfc;
    border-bottom: 1px solid var(--border);
}
.hero > .container { width: 100%; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    align-items: center;
}
@media (min-width: 900px) {
    .hero-grid {
        grid-template-columns: 1.35fr 1fr;
        gap: var(--s-7);
    }
}

/* Hero typography — balanced for the longer Hindi lede while filling the fold */
.hero .eyebrow {
    margin-bottom: var(--s-4);
    font-size: 0.82rem;
}
.hero .display {
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-5);
}
.hero .lede {
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 60ch;
    color: var(--ink-700);
}
.hero .trust-pills {
    margin-top: var(--s-5);
}
.hero .trust-pills li {
    padding: 8px 16px;
    font-size: 0.88rem;
}
.hero .hero-cta { margin-top: var(--s-5); }

/* Right "At a glance" card — fuller padding so it visually balances the longer left column */
.hero .hero-card {
    padding: var(--s-6);
}
.hero .hero-card h3 {
    margin-bottom: var(--s-4);
    font-size: 0.82rem;
}
.hero .hero-card dl > div {
    padding: 14px 0;
}
.hero .hero-card dt {
    font-size: 0.92rem;
}
.hero .hero-card dd {
    font-size: 0.96rem;
}

/* On short laptops, drop the min-height + step typography down so nothing overflows */
@media (max-height: 780px) {
    .hero { min-height: 0; padding: var(--s-6) 0; }
    .hero .display { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
    .hero .lede { font-size: 1rem; line-height: 1.65; }
}
@media (max-height: 640px) {
    .hero .display { font-size: clamp(1.5rem, 3.2vw, 2rem); }
    .hero .lede { font-size: 0.94rem; line-height: 1.55; }
    .hero .trust-pills li { padding: 5px 11px; font-size: 0.8rem; }
}

.display {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-5);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
    margin-top: var(--s-6);
}

.hero-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.hero-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: var(--s-6);
    right: var(--s-6);
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
    border-radius: 0 0 3px 3px;
}
.hero-card h3 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-500);
    margin-bottom: var(--s-5);
}
.hero-card dl > div {
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: var(--s-4);
}
.hero-card dl > div:last-child { border-bottom: none; }
.hero-card dt {
    color: var(--ink-500);
    font-size: 0.88rem;
    font-weight: 500;
}
.hero-card dd {
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: right;
}

/* ---------- Cards (3-up grid) ---------- */
.cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
}
@media (min-width: 720px) {
    .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.card-num {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gold-600);
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: var(--s-3);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--ink-700); margin-bottom: 0; }

/* ---------- Venture feature ---------- */
.venture-feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-7);
    margin-bottom: var(--s-6);
    box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) {
    .venture-feature {
        grid-template-columns: 1.3fr 1fr;
        padding: var(--s-8);
        align-items: center;
    }
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gold-100);
    color: var(--gold-600);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
}

.venture-meta h3 {
    font-size: 1.7rem;
    margin-bottom: var(--s-4);
}

.venture-points {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--s-6);
}
.venture-points li {
    padding: var(--s-2) 0 var(--s-2) var(--s-5);
    color: var(--ink-700);
    position: relative;
    border-bottom: 1px dashed var(--border);
}
.venture-points li:last-child { border-bottom: none; }
.venture-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold-500);
    border-radius: 50%;
    transform: translateY(-50%);
}

.venture-visual {
    display: grid;
    place-items: center;
}
.visual-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 50% 40%, #ffffff 0%, #f4f7fc 70%, #e6edf7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-4);
    box-shadow:
        0 1px 2px rgba(15, 44, 92, 0.06),
        0 18px 40px rgba(15, 44, 92, 0.12);
}
.venture-logo {
    width: 70%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(15, 44, 92, 0.18));
}
.visual-caption {
    margin: 0;
    color: var(--brand-blue-900);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-align: center;
}

.venture-future {
    background: var(--brand-green-100);
    border-left: 3px solid var(--brand-green-500);
    padding: var(--s-5) var(--s-6);
    border-radius: var(--radius);
}
.venture-future p { margin: 0; color: var(--ink-700); }
.venture-future strong { color: var(--brand-green-700); }

/* ---------- Leadership ---------- */
.leader-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-7);
    max-width: 880px;
    margin: 0 auto;
}
@media (min-width: 720px) {
    .leader-card {
        grid-template-columns: 220px 1fr;
        gap: var(--s-7);
        align-items: start;
    }
}

.leader-photo {
    display: grid;
    place-items: center;
}
.leader-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid #fff;
    box-shadow:
        0 0 0 1px var(--border),
        0 12px 28px rgba(15, 44, 92, 0.18);
}

.leader-body h3 { margin-bottom: var(--s-2); font-size: 1.5rem; }
.leader-body .role {
    color: var(--gold-600);
    font-weight: 600;
    margin-bottom: var(--s-4);
    font-size: 0.95rem;
}
.leader-body blockquote {
    margin-top: var(--s-5);
    padding: var(--s-4) var(--s-5);
    border-left: 3px solid var(--gold-500);
    background: var(--bg-muted);
    color: var(--ink-700);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Video testimonials ---------- */
.video-testimonial {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.video-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #0a1830;
    display: block;
    overflow: hidden;
}
.video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0a1830;
}
.video-testimonial figcaption {
    padding: var(--s-4) var(--s-5);
    font-size: 0.82rem;
    color: var(--ink-500);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--bg-muted);
}

/* On wide screens, cap card height so portrait videos don't dominate */
@media (min-width: 720px) {
    .video-grid .video-wrap { aspect-ratio: 4 / 5; }
}

/* ---------- Testimonials (text) ---------- */
.quote {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    margin: 0;
    position: relative;
}
.quote::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: var(--s-5);
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold-500);
    line-height: 1;
}
.quote blockquote {
    color: var(--ink-700);
    font-size: 1rem;
    margin-bottom: var(--s-4);
    padding-top: var(--s-4);
}
.quote figcaption {
    font-size: 0.85rem;
    color: var(--ink-500);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */
.contact-grid { align-items: center; }
.contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 162, 75, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
}
.contact-card-name {
    margin: 0 0 var(--s-3);
    padding-bottom: var(--s-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.contact-card dl > div {
    padding: var(--s-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-card dl > div:last-child { border-bottom: none; }
.contact-card dt {
    color: var(--gold-500);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--s-1);
}
.contact-card dd {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 500;
    word-break: break-word;
}
.contact-card dd a { color: #fff; }
.contact-card dd a:hover { color: var(--gold-500); }

/* ---------- Footer ---------- */
.site-footer {
    background: #0a1830;
    color: #c8d0dc;
    padding: var(--s-8) 0 var(--s-5);
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer a { color: #c8d0dc; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer h4 {
    color: #fff;
    margin-bottom: var(--s-4);
    font-size: 0.78rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    padding-bottom: var(--s-7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
        gap: var(--s-7);
    }
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    padding: var(--s-2) 0;
    font-size: 0.92rem;
}
.footer-brand p {
    font-size: 0.9rem;
    color: #97a3b5;
    margin-top: var(--s-3);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding-top: var(--s-5);
    color: #8993a6;
    font-size: 0.82rem;
}
@media (min-width: 720px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.footer-bottom p { margin: 0; }
.legal-links a { margin: 0 var(--s-2); }

/* ---------- Legal / Policy pages ---------- */
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--s-5);
}

.legal-hero {
    padding: var(--s-8) 0 var(--s-6);
    background:
        radial-gradient(700px 280px at 85% -10%, rgba(238, 108, 31, 0.08), transparent 65%),
        radial-gradient(700px 380px at -10% 110%, rgba(59, 130, 224, 0.07), transparent 65%),
        #fdfdfc;
    border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-bottom: var(--s-3);
}
.legal-meta {
    color: var(--ink-500);
    font-size: 0.9rem;
    margin: 0;
}

.legal-body {
    padding: var(--s-8) 0;
}
.legal-body .lede {
    font-size: 1.08rem;
    color: var(--ink-700);
    margin-bottom: var(--s-6);
    max-width: none;
}
.legal-body h2 {
    font-size: 1.4rem;
    margin-top: var(--s-7);
    margin-bottom: var(--s-3);
    color: var(--brand-blue-900);
    padding-bottom: var(--s-2);
    border-bottom: 1px solid var(--border);
}
.legal-body h3 {
    font-size: 1.08rem;
    margin-top: var(--s-5);
    margin-bottom: var(--s-3);
    color: var(--brand-blue-800);
}
.legal-body p,
.legal-body ul,
.legal-body ol {
    color: var(--ink-700);
    font-size: 0.98rem;
    line-height: 1.7;
}
.legal-body ul,
.legal-body ol {
    padding-left: 1.3rem;
    margin-bottom: var(--s-5);
}
.legal-body li { margin-bottom: var(--s-2); }
.legal-body strong { color: var(--brand-blue-900); }
.legal-body a { color: var(--brand-blue-700); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--brand-orange-600); }

.legal-callout {
    background: var(--brand-blue-100);
    border-left: 4px solid var(--brand-orange-500);
    padding: var(--s-5) var(--s-6);
    border-radius: var(--radius);
    margin: var(--s-5) 0;
}
.legal-callout p { margin: 0 0 var(--s-3); }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout strong { color: var(--brand-blue-900); }

/* ---------- Corporate-page components ---------- */

/* Our Story — bolded sub-headings in the prose column */
.story-prose p {
    margin-bottom: var(--s-4);
}
.story-prose p:last-child {
    margin-bottom: 0;
}
.story-prose strong {
    color: var(--brand-blue-900);
    font-weight: 800;
    font-family: var(--font-display);
}
.story-aside {
    margin-top: var(--s-4);
    font-size: 0.92rem;
    color: var(--ink-500);
    border-left: 3px solid var(--brand-orange-500);
    padding-left: var(--s-4);
    line-height: 1.55;
}

/* Our Vision — slim branded band between sections */
.vision-band {
    background:
        radial-gradient(800px 300px at 80% -20%, rgba(238, 108, 31, 0.18), transparent 60%),
        radial-gradient(700px 400px at -10% 120%, rgba(34, 163, 86, 0.12), transparent 60%),
        linear-gradient(135deg, var(--brand-blue-900) 0%, var(--brand-blue-800) 100%);
    color: #fff;
    padding: var(--s-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.vision-band > .container {
    max-width: 880px;
    text-align: center;
}
.vision-band .eyebrow-on-dark {
    color: var(--brand-orange-500);
    display: inline-block;
    margin-bottom: var(--s-4);
}
.vision-band h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    line-height: 1.3;
    margin: 0 auto var(--s-4);
    max-width: 760px;
    font-weight: 800;
}
.vision-band p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 640px;
}


/* Section subtitle (small lede under a section-head heading) */
.section-sub {
    color: var(--ink-500);
    font-size: 1rem;
    margin: var(--s-2) 0 0;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

/* Founder's message — formal signed-letter style */
.founder-message {
    margin: 0 0 var(--s-5);
}
.founder-message p {
    color: var(--ink-700);
    font-size: 1.02rem;
    line-height: 1.75;
    margin: 0 0 var(--s-4);
}
.founder-message p:last-child {
    margin-bottom: 0;
}
.signature {
    margin: var(--s-5) 0 0;
    padding-top: var(--s-4);
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--ink-700);
    line-height: 1.5;
}
.signature strong {
    color: var(--brand-blue-900);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
}

/* Our Commitments — ordered, numbered, 2-column on desktop */
.commitments {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    max-width: 980px;
    margin: 0 auto;
}
@media (min-width: 760px) {
    .commitments { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-7); }
}
.commitments > li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--s-4);
    align-items: start;
}
.commitment-num {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--brand-orange-500);
    color: var(--brand-orange-600);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.04em;
}
.commitments h3 {
    margin: 0 0 var(--s-2);
    font-size: 1.15rem;
    color: var(--brand-blue-900);
}
.commitments p {
    margin: 0;
    color: var(--ink-700);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ============================================================
   Language toggle (Hindi default / English alternate)
   - Add [data-lang="hi"] or [data-lang="en"] to any element
   - The active language is set on <html data-lang="...">
   ============================================================ */
html[data-lang="hi"] [data-lang="en"],
html[data-lang="en"] [data-lang="hi"] {
    display: none !important;
}

/* Language toggle button (header) */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 34px;
    padding: 0 12px;
    margin-right: var(--s-2);
    background: transparent;
    border: 1.5px solid var(--border-strong);
    color: var(--brand-blue-900);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
}
.lang-toggle:hover {
    background: var(--brand-blue-900);
    color: #fff;
    border-color: var(--brand-blue-900);
}
.lang-toggle:focus-visible {
    outline: 2px solid var(--brand-orange-500);
    outline-offset: 2px;
}

/* ============================================================
   V2 — Doc-driven sections (Mirror, Mool Mulya, Polarizing,
   Products grid, 4 Invitations, Founder quote, etc.)
   ============================================================ */

/* Trust pills under the hero lede */
.trust-pills {
    list-style: none;
    padding: 0;
    margin: var(--s-5) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
}
.trust-pills li {
    background: rgba(238, 108, 31, 0.08);
    color: var(--brand-blue-900);
    border: 1px solid var(--brand-orange-100);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
}
.trust-pills li::before {
    content: "\2713\00a0";
    color: var(--brand-green-600);
    font-weight: 900;
}

/* Mirror — 3 pain cards */
.mirror-card {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-orange-500);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
}
.mirror-card h3 {
    color: var(--brand-orange-600);
    font-size: 1.05rem;
    margin: 0 0 var(--s-4);
    font-weight: 800;
}
.mirror-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mirror-card li {
    padding: var(--s-3) 0 var(--s-3) var(--s-5);
    color: var(--ink-700);
    position: relative;
    line-height: 1.7;
    font-size: 0.98rem;
    border-bottom: 1px dashed var(--border);
}
.mirror-card li:last-child { border-bottom: none; padding-bottom: 0; }
.mirror-card li::before {
    content: "\2022";
    position: absolute;
    left: 6px;
    top: 6px;
    color: var(--brand-orange-500);
    font-size: 1.5rem;
    line-height: 1;
}
.mirror-close {
    margin: var(--s-7) auto 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--brand-blue-900);
    font-weight: 700;
    max-width: 720px;
}

/* Why We Exist — long Devanagari body */
.why-body {
    max-width: 800px;
    margin: 0 auto;
}
.why-body p {
    color: var(--ink-700);
    font-size: 1.06rem;
    line-height: 1.85;
    margin-bottom: var(--s-5);
}
.why-body p:last-child { margin-bottom: 0; }

/* Mool Mulya — 5 cards (3+2) in Devanagari + English */
.mool-mulya-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
}
@media (min-width: 720px) {
    .mool-mulya-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
    .mool-mulya-grid { grid-template-columns: repeat(3, 1fr); }
}
.mool-mulya-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.mool-mulya-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.mool-mulya-card .mulya-name {
    font-family: var(--font-devanagari);
    font-size: 1.9rem;
    color: var(--brand-orange-600);
    line-height: 1.15;
    margin: 0 0 var(--s-2);
    font-weight: 500;
}
.mool-mulya-card .mulya-en {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue-700);
    font-weight: 800;
    margin: 0 0 var(--s-3);
}
.mool-mulya-card .mulya-quote {
    font-weight: 800;
    color: var(--brand-blue-900);
    margin: 0 0 var(--s-3);
    font-size: 1rem;
    line-height: 1.45;
}
.mool-mulya-card .mulya-body {
    color: var(--ink-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* What We Don't Do — polarizing list */
.polarizing-wrap { max-width: 880px; margin: 0 auto; }
.polarizing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.polarizing-list > li {
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--border);
    color: var(--ink-700);
    line-height: 1.75;
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: var(--s-4);
    align-items: start;
}
.polarizing-list > li:last-child { border-bottom: none; }
.mark-x {
    color: #c0392b;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.2;
}
.polarizing-list strong {
    color: var(--brand-blue-900);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
    font-weight: 800;
}
.polarizing-close {
    text-align: center;
    margin: var(--s-6) auto 0;
    color: var(--ink-700);
    font-style: italic;
    max-width: 680px;
    line-height: 1.7;
}
.counter-statement {
    margin: var(--s-6) auto 0;
    max-width: 560px;
    background: var(--brand-green-100);
    border-left: 4px solid var(--brand-green-500);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: var(--s-5);
    list-style: none;
}
.counter-statement li {
    padding: 6px 0;
    color: var(--brand-blue-900);
    font-weight: 700;
}
.counter-statement li::before {
    content: "\2713\00a0";
    color: var(--brand-green-600);
    font-weight: 900;
    margin-right: 4px;
}

/* Founder quote (large bordered Devanagari) */
.founder-quote {
    margin: var(--s-6) 0;
    padding: var(--s-5) var(--s-6);
    border-left: 4px solid var(--brand-orange-500);
    background: var(--bg-muted);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-family: var(--font-devanagari);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--brand-blue-900);
    line-height: 1.65;
}

/* Drishti Clarity Lab — 4 product cards */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    margin-top: var(--s-6);
}
@media (min-width: 720px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-5);
    display: flex;
    flex-direction: column;
    transition: all 0.18s ease;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-orange-500);
}
.product-card h3 {
    margin: 0 0 var(--s-3);
    font-size: 1.1rem;
    color: var(--brand-blue-900);
    font-weight: 800;
}
.product-card p {
    flex: 1;
    color: var(--ink-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 var(--s-4);
}
.product-card .btn {
    align-self: flex-start;
    width: 100%;
    justify-content: center;
}

/* 4 Invitations — 2x2 grid */
.invitations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
    margin-top: var(--s-6);
}
@media (min-width: 760px) {
    .invitations-grid { grid-template-columns: repeat(2, 1fr); }
}
.invitation-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--s-6);
    display: flex;
    flex-direction: column;
    transition: all 0.18s ease;
}
.invitation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-orange-500);
}
.invitation-card .emoji {
    font-size: 2rem;
    margin-bottom: var(--s-3);
    line-height: 1;
}
.invitation-card h3 {
    margin: 0 0 var(--s-3);
    color: var(--brand-blue-900);
    font-size: 1.15rem;
    font-weight: 800;
}
.invitation-card p {
    flex: 1;
    color: var(--ink-700);
    margin: 0 0 var(--s-4);
    line-height: 1.7;
    font-size: 0.95rem;
}
.invitation-card .btn { align-self: flex-start; }

/* Stories — simplified (no heading, light caption) */
.stories-minimal .section-head { display: none; }
.stories-minimal .video-testimonial figcaption {
    background: transparent;
    border-top: none;
    padding: var(--s-3) var(--s-4) 0;
    font-size: 0.85rem;
    color: var(--ink-500);
    text-transform: none;
    letter-spacing: 0.01em;
    text-align: center;
    font-weight: 700;
}

/* Section closing italic line */
.section-closing {
    text-align: center;
    margin: var(--s-6) auto 0;
    color: var(--brand-blue-900);
    font-weight: 700;
    font-size: 1.05rem;
    max-width: 720px;
    line-height: 1.6;
}

/* Footer Mool Mulya bottom strip */
.footer-mulya-strip {
    text-align: center;
    margin: var(--s-5) 0 var(--s-3);
    padding-top: var(--s-4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--brand-orange-500);
    font-family: var(--font-devanagari);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    html { scroll-behavior: auto; }
}
