/* =========================================================================
   Servagya Integrated Technologies Private Limited - shared site styles
   Visual direction: white, deep navy headings, restrained grey sections,
   clean borders, minimal shadows. Breakpoints live in responsive.css.
   ========================================================================= */

:root {
    --navy: #0e2f5a;
    --navy-dark: #09213f;
    --blue: #1d5fa5;
    --ink: #25313e;
    --muted: #586676;
    --line: #dce3ec;
    --line-strong: #c3cedb;
    --surface: #ffffff;
    --surface-alt: #f4f6f9;
    --tint: #eef4fb;
    --brand-green: #2f7d3a;
    --brand-red: #d23a2b;
    --brand-blue: #2366ac;
    --radius: 6px;
    --container: 1180px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
}

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

h1, h2, h3 { margin: 0 0 12px; color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.5rem; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.0625rem; }
p { margin: 0 0 14px; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
main:focus { outline: none; }

[id] {
    scroll-margin-top: 155px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 8px 14px; background: var(--navy); color: #fff; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 9px 20px;
    border: 1px solid var(--navy); border-radius: 4px;
    font-family: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); }
.btn-outline:hover { background: var(--surface-alt); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kicker (section label from the approved content) ------------------------ */
.kicker {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}

/* Header ----------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(14, 47, 90, 0.08);
}

.brand-strip {
    height: 3px;
    background: linear-gradient(90deg,
        var(--brand-green) 0, var(--brand-green) 33.333%,
        var(--brand-red) 33.333%, var(--brand-red) 66.666%,
        var(--brand-blue) 66.666%, var(--brand-blue) 100%);
}
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-logo { flex: none; width: auto; height: 68px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { color: var(--navy); font-size: 1.9375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; }
.brand-tagline { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }

/* Main navigation -------------------------------------------------------- */
.main-nav { border-top: 1px solid var(--line); background: #fff; }
/* One row on laptop/desktop: menu items on the left, Login at the far right. Never wraps above the tablet breakpoint. */
.nav-inner { display: flex; align-items: center; flex-wrap: nowrap; gap: 16px; }
.nav-toggle { display: none; }
.nav-login { flex: 0 0 auto; margin-left: auto; min-width: 96px; min-height: 38px; padding: 7px 22px; }
.nav-menu { display: flex; align-items: center; flex-wrap: nowrap; flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a,
.sub-toggle {
    display: flex; align-items: center; gap: 6px;
    padding: 13px 16px;
    border: 0; border-bottom: 2px solid transparent; background: none;
    color: var(--navy); font-family: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1.3;
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-menu > li > a:hover,
.sub-toggle:hover { background: var(--surface-alt); color: var(--navy); }
.nav-menu > li > a[aria-current="page"] { background: var(--surface-alt); border-bottom-color: var(--navy); }
.sub-toggle::after {
    content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.sub-menu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 20;
    min-width: 250px; margin: 0; padding: 6px 0; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 6px 16px rgba(14, 47, 90, 0.08);
}
.has-sub:hover > .sub-menu,
.has-sub.is-open > .sub-menu,
html:not(.js) .has-sub:focus-within > .sub-menu { display: block; }
.sub-menu a,
.sub-menu .link-disabled { display: block; padding: 8px 18px; font-size: 0.875rem; line-height: 1.4; }
.sub-menu a { color: var(--navy); text-decoration: none; }
.sub-menu a:hover { background: var(--surface-alt); }
.sub-menu a[aria-current="page"] { font-weight: 600; }

/* Entries whose pages are not yet published: plain text, not a link. */
.link-disabled { color: #76828f; cursor: default; }

/* Sections --------------------------------------------------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }
.section-head { margin-bottom: 36px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head-center { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center > p:not(.kicker) { color: var(--muted); }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.section-head-split > p { color: var(--muted); }
.section-head-split h2 { margin-bottom: 0; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hero h1 { max-width: 24ch; margin-bottom: 18px; }
.hero-intro { max-width: 64ch; margin-bottom: 26px; color: var(--muted); font-size: 1.0625rem; }
.trust-line {
    max-width: 70ch; margin: 26px 0 0; padding-left: 14px;
    border-left: 3px solid var(--brand-green);
    color: var(--muted); font-size: 0.875rem; line-height: 1.55;
}

.quick-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.quick-panel-title { margin: 0; padding: 14px 20px; background: var(--navy); color: #fff; font-size: 1rem; }
.quick-panel ul { margin: 0; padding: 0; list-style: none; }
.quick-panel li + li { border-top: 1px solid var(--line); }
.quick-panel a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px; color: var(--navy); font-size: 0.9375rem; font-weight: 600; text-decoration: none;
}
.quick-panel a::after {
    content: ""; flex: none; width: 7px; height: 7px;
    border-right: 1.5px solid var(--muted); border-top: 1.5px solid var(--muted); transform: rotate(45deg);
}
.quick-panel a:hover { background: var(--surface-alt); }

/* Cards ------------------------------------------------------------------ */
.card-grid { display: grid; gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.card-ruled { border-top: 3px solid var(--navy); }
.card .status-tag {
    display: inline-block; margin: 0 0 12px; padding: 2px 9px;
    background: var(--tint); border-radius: 3px;
    color: var(--blue); font-size: 0.75rem; font-weight: 600;
}

.disclaimer {
    max-width: 860px; margin: 32px auto 0; padding: 14px 18px;
    background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: 4px;
    color: var(--muted); font-size: 0.875rem;
}

/* Gazette / What's New --------------------------------------------------- */
.update-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.update-panel { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.update-panel h2 { padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 1.375rem; }
.empty-state { margin-top: 20px; padding: 22px; border: 1px dashed var(--line-strong); border-radius: 4px; background: var(--surface-alt); }
.empty-state p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.empty-state .empty-state-title { margin-bottom: 6px; color: var(--navy); font-weight: 600; }

/* Update feed items (future): structure ready for approved MySQL data.
   <ul class="update-list">
     <li class="update-item">
       <time class="update-date" datetime="yyyy-mm-dd"><span class="update-day">dd</span><span class="update-month">Mon yyyy</span></time>
       <div class="update-body">
         <span class="update-tag">Category</span>
         <h3 class="update-item-title">Title</h3>
         <p class="update-summary">Short factual summary</p>
         <p class="update-meta">Authority / effective date / source link</p>
       </div>
     </li>
   </ul>
   A later rotating strip can wrap .update-list without changing the panel layout. */
.update-list { margin: 20px 0 0; padding: 0; list-style: none; }
.update-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.update-item:last-child { border-bottom: 0; }
.update-date {
    display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center;
    width: 58px; height: 58px; border: 1px solid var(--line-strong); border-radius: 4px; background: #fff;
}
.update-day { color: var(--navy); font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.update-month { color: var(--muted); font-size: 0.625rem; font-weight: 600; text-transform: uppercase; }
.update-tag {
    display: inline-block; margin-bottom: 6px; padding: 1px 8px; border-radius: 3px;
    background: var(--tint); color: var(--blue); font-size: 0.6875rem; font-weight: 600;
}
.update-item-title { margin-bottom: 4px; font-size: 1rem; }
.update-summary { margin: 0 0 4px; color: var(--muted); font-size: 0.875rem; }
.update-meta { margin: 0; color: var(--muted); font-size: 0.75rem; }

/* SARA ------------------------------------------------------------------- */
.sara-block {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: start;
    padding: 40px; background: #fff;
    border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius);
}
.sara-main p:not(.kicker) { color: var(--muted); }
.sara-status { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.sara-scope { padding: 24px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.sara-scope h3 { margin-bottom: 14px; }
.sara-scope dl { margin: 0; }
.sara-scope dt {
    display: inline-block; margin-top: 14px; padding: 2px 10px;
    background: #fff; border: 1px solid var(--line-strong); border-radius: 12px;
    color: var(--navy); font-size: 0.75rem; font-weight: 600;
}
.sara-scope dt:first-of-type { margin-top: 0; }
.sara-scope dd { margin: 6px 0 0; color: var(--ink); font-size: 0.9375rem; }

/* FAQ -------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 48px; align-items: start; }
.faq-intro > p:not(.kicker) { color: var(--muted); }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-list details + details { margin-top: 12px; }
.faq-list summary {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 20px; color: var(--navy); font-weight: 600; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
    content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg);
}
.faq-list details[open] summary::before { transform: rotate(45deg); margin-top: 6px; }
.faq-list details p { margin: 0; padding: 0 20px 18px 39px; color: var(--muted); font-size: 0.9375rem; }

/* Bottom CTA ------------------------------------------------------------- */
.cta-band { padding: 48px 0; background: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: 1.5rem; }
.cta-inner p { max-width: 70ch; margin: 0; color: var(--muted); }
.cta-inner .btn-row { flex: none; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-logo { width: auto; height: 52px; margin-bottom: 14px; }
.footer-name { margin: 0 0 4px; color: var(--navy); font-weight: 700; }
.footer-tagline { margin: 0 0 18px; color: var(--muted); font-size: 0.8125rem; }
.footer-contact { color: var(--ink); font-size: 0.8125rem; font-style: normal; line-height: 1.7; }
.footer-contact a { color: var(--ink); }
.footer-label { display: block; margin-top: 8px; color: var(--muted); font-size: 0.75rem; font-weight: 600; }
.footer-label:first-child { margin-top: 0; }
.footer-heading { margin: 0 0 14px; font-size: 0.9375rem; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 8px; }
.footer-col a,
.footer-col .link-disabled { font-size: 0.875rem; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--blue); text-decoration: underline; }

.footer-bottom { background: var(--navy); color: #fff; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; font-size: 0.8125rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }



/* =========================================================================
   Company pages (added with About Servagya) - append to the end of site.css
   Reuses the existing tokens; no existing rule is changed.
   ========================================================================= */

/* Page header band: breadcrumb, H1 and lead text */
.page-header {
    padding: 40px 0 44px;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--line);
}

    .page-header h1 {
        max-width: 30ch;
        margin-bottom: 16px;
    }

.page-lead {
    max-width: 76ch;
}

    .page-lead p {
        color: var(--muted);
        font-size: 1.0625rem;
    }

        .page-lead p:last-child {
            margin-bottom: 0;
        }

.breadcrumb {
    margin-bottom: 18px;
    font-size: 0.8125rem;
}

    .breadcrumb ol {
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        list-style: none;
        color: var(--muted);
    }

    .breadcrumb li + li::before {
        content: "/";
        margin: 0 8px;
        color: var(--line-strong);
    }

    .breadcrumb a {
        color: var(--blue);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

    .breadcrumb [aria-current="page"] {
        color: var(--ink);
        font-weight: 600;
    }

/* Heading on the left, content on the right */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    gap: 48px;
    align-items: start;
}

.split-head h2 {
    margin-bottom: 0;
}

.split-body > p:not(.callout):not(.disclaimer) {
    color: var(--muted);
}

.split-body > :last-child {
    margin-bottom: 0;
}

.split-body .disclaimer {
    max-width: none;
    margin: 24px 0 0;
}

.split-actions {
    margin-top: 24px;
}

.subsection-head {
    margin-top: 64px;
}

/* Restrained highlighted statement */
.callout {
    margin: 22px 0 0;
    padding: 14px 18px;
    background: var(--tint);
    border-left: 3px solid var(--navy);
    border-radius: 4px;
    color: var(--navy);
    font-weight: 600;
}

.callout-center {
    max-width: 860px;
    margin: 28px auto 0;
}

.section-link {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Bordered white panel inside a section */
.panel {
    margin-top: 22px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

    .panel p {
        color: var(--muted);
    }

        .panel p:last-child {
            margin-bottom: 0;
        }

    .panel .panel-intro {
        color: var(--ink);
        font-weight: 600;
    }

.panel-future {
    border-left: 3px solid var(--blue);
}

.panel .panel-label {
    margin: 0 0 8px;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Lists with a small square marker */
.tick-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .tick-list li {
        position: relative;
        padding-left: 20px;
        color: var(--ink);
        font-size: 0.9375rem;
        line-height: 1.55;
    }

        .tick-list li + li {
            margin-top: 8px;
        }

        .tick-list li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 0.6em;
            width: 7px;
            height: 7px;
            background: var(--navy);
            border-radius: 1px;
        }

.tick-list-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 32px;
}

    .tick-list-2 li + li {
        margin-top: 0;
    }

.approach-list {
    max-width: 980px;
    margin: 0 auto;
    gap: 14px 40px;
}

    .approach-list li {
        padding: 14px 16px 14px 34px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
    }

        .approach-list li::before {
            left: 16px;
            top: calc(14px + 0.6em);
        }

/* Cards on company pages */
.card-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card .tick-list {
    margin: 4px 0 14px;
}

.card p + .tick-list {
    margin-top: 12px;
}

.card .card-note {
    margin-top: 12px;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .page-header {
        padding: 28px 0 32px;
    }

    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .subsection-head {
        margin-top: 48px;
    }

    .card-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .tick-list-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .panel {
        padding: 18px;
    }
}


/* existing Home / shared CSS */

/* Company pages (added with About Servagya) */
/* ...large About/Company CSS block... */

@media (max-width: 600px) {
    .tick-list-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .panel {
        padding: 18px;
    }
}


/* Company section active state (same treatment as the current Home link).
   The current Company page itself is marked with aria-current in the dropdown. */
.has-sub.is-current > .sub-toggle {
    background: var(--surface-alt);
    border-bottom-color: var(--navy);
}

@media (max-width: 900px) {
    .has-sub.is-current > .sub-toggle {
        border-bottom-color: var(--line);
        box-shadow: inset 3px 0 0 var(--navy);
        padding-left: 12px;
    }
}

/* =========================================================================
   Our Journey - timeline and small helpers (append to the end of site.css)
   ========================================================================= */
.timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 10px;
        bottom: 10px;
        left: 207px;
        width: 2px;
        background: var(--line-strong);
    }

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 0 64px;
}

    .timeline-item + .timeline-item {
        margin-top: 18px;
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        top: 24px;
        left: 201px;
        width: 14px;
        height: 14px;
        border: 3px solid var(--navy);
        border-radius: 50%;
        background: #fff;
    }

.timeline-key::before {
    background: var(--navy);
}

.timeline-future::before {
    border-color: var(--blue);
    border-style: dashed;
}

.timeline-date {
    margin: 0;
    padding-top: 20px;
    text-align: right;
    color: var(--navy);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}

.timeline-body h3 {
    margin-bottom: 8px;
}

.timeline-body p + p {
    margin-top: 10px;
}

.timeline-body > :last-child {
    margin-bottom: 0;
}

.timeline-future .timeline-body {
    border-left: 3px solid var(--blue);
}

.callout-lead {
    margin: 0 0 18px;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.related {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.related-title {
    margin-bottom: 14px;
    font-size: 1rem;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .related-links a {
        display: inline-block;
        padding: 8px 16px;
        border: 1px solid var(--line-strong);
        border-radius: 4px;
        background: #fff;
        color: var(--navy);
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
    }

        .related-links a:hover {
            background: var(--surface-alt);
        }

.cta-band-ruled {
    border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
    .timeline::before {
        left: 7px;
    }

    .timeline-item {
        grid-template-columns: minmax(0, 1fr);
        padding-left: 32px;
    }

        .timeline-item::before {
            top: 3px;
            left: 1px;
        }

    .timeline-date {
        padding-top: 0;
        margin-bottom: 8px;
        text-align: left;
    }
}

/* =========================================================================
   Vision & Future Direction - roadmap and workflow (append to end of site.css)
   ========================================================================= */

/* Roadmap 2026-2031: numbered steps, three per row on desktop */
.roadmap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.roadmap-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.roadmap-marker {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

    .roadmap-marker::after {
        content: "";
        flex: 1;
        height: 2px;
        margin-left: 12px;
        background: var(--line-strong);
    }

/* Keep the connector after Step 3 so the roadmap visibly continues.
   Only the final Step 6 ends without a connector. */
.roadmap-item:last-child .roadmap-marker::after {
    background: none;
}

/* At the end of the first row, indicate that the roadmap continues
   onto the next row. Desktop only. */
@media (min-width: 901px) {
    .roadmap-item:nth-child(3) .roadmap-marker {
        position: relative;
    }

        .roadmap-item:nth-child(3) .roadmap-marker::before {
            content: "";
            position: absolute;
            right: -1px;
            top: 17px;
            width: 12px;
            height: 18px;
            border-right: 2px solid var(--line-strong);
            border-bottom: 2px solid var(--line-strong);
            border-radius: 0 0 4px 0;
        }
}

.roadmap-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
}

.roadmap-item .card {
    flex: 1;
}

    .roadmap-item .card h3 {
        margin-bottom: 8px;
    }

.card .status-tag.status-planned {
    background: #fff;
    border: 1px dashed var(--line-strong);
    color: var(--muted);
}

/* Example future workflow: seven steps with arrows */
.flow {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flow-step {
    position: relative;
    padding: 16px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

    .flow-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -17px;
        width: 9px;
        height: 9px;
        border-top: 2px solid var(--muted);
        border-right: 2px solid var(--muted);
        transform: translateY(-50%) rotate(45deg);
    }

.flow-role {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.flow-text {
    margin: 0;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

.flow-sara {
    background: var(--tint);
    border-color: #cddcef;
}

.flow-engine {
    background: var(--navy);
    border-color: var(--navy);
}

    .flow-engine .flow-role,
    .flow-engine .flow-text {
        color: #fff;
    }

.flow-note {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 1080px) {
    .flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px 0;
        max-width: 520px;
        margin: 0 auto;
    }

    .flow-step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -17px;
        left: 50%;
        transform: translateX(-50%) rotate(135deg);
    }
}

@media (max-width: 900px) {
    .roadmap {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .roadmap-item {
        padding-left: 52px;
    }

    .roadmap-marker {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }

        .roadmap-marker::after {
            display: none;
        }

    .roadmap-item:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 40px;
        bottom: -16px;
        left: 17px;
        width: 2px;
        background: var(--line-strong);
    }
}

/* =========================================================================
   Founder page - small additions (append to end of site.css)
   ========================================================================= */

/* Founder at a Glance: definition list inside the existing quick-panel */
.glance-list {
    margin: 0;
    padding: 4px 20px 8px;
}

    .glance-list > div {
        padding: 11px 0;
    }

        .glance-list > div + div {
            border-top: 1px solid var(--line);
        }

    .glance-list dt {
        color: var(--muted);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .glance-list dd {
        margin: 2px 0 0;
        color: var(--navy);
        font-size: 0.9375rem;
        font-weight: 600;
        line-height: 1.45;
    }

.page-header .hero-grid {
    align-items: start;
}

/* Five-step technical progression, reusing the existing .flow steps */
.flow-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 980px;
    margin: 0 auto;
}

    .flow-5 .flow-step {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 64px;
        text-align: center;
    }

/* Spacing helpers */
.split-body > p.split-follow {
    margin-top: 22px;
}

.callout-follow {
    margin: 24px 0 0;
}

@media (max-width: 1080px) {
    .flow-5 {
        grid-template-columns: minmax(0, 1fr);
        max-width: 420px;
    }
}


/* =========================================================================
   Contact Us page - append to the end of site.css
   Every rule is scoped to a .contact-* class. No existing rule is changed.
   ========================================================================= */

/* Contact details on the left, enquiry form on the right */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
    gap: 40px;
    align-items: start;
}

.contact-details,
.contact-form-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-details {
    background: var(--surface-alt);
}

.contact-form-panel {
    border-top: 3px solid var(--navy);
}

.contact-panel-title {
    margin-bottom: 20px;
    font-size: 1.375rem;
}

.contact-list {
    margin: 0;
}

    .contact-list dt {
        margin-top: 18px;
        color: var(--muted);
        font-size: 0.8125rem;
        font-weight: 600;
    }

        .contact-list dt:first-child {
            margin-top: 0;
        }

    .contact-list dd {
        margin: 4px 0 0;
        color: var(--ink);
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .contact-list address {
        font-style: normal;
    }

    .contact-list a {
        color: var(--navy);
        font-weight: 600;
    }

/* Form */
.contact-required-note {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 0.8125rem;
}

.contact-req {
    color: #b42318;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-input {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
}

    .contact-input:focus {
        border-color: var(--navy);
        outline: 2px solid var(--blue);
        outline-offset: 0;
    }

textarea.contact-input {
    min-height: 150px;
    resize: vertical;
}

.contact-hint {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.8125rem;
}

.contact-warning {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: var(--tint);
    border-left: 3px solid var(--navy);
    border-radius: 4px;
    color: var(--ink);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
}

    .contact-consent input {
        flex: none;
        width: 18px;
        height: 18px;
        margin: 3px 0 0;
        accent-color: var(--navy);
    }

    .contact-consent label {
        color: var(--ink);
        font-size: 0.875rem;
        line-height: 1.55;
    }

.contact-captcha {
    margin-top: 20px;
    min-height: 65px;
}

.contact-captcha-hint {
    color: #b42318;
    font-weight: 600;
}

.contact-actions {
    margin-top: 20px;
}

.contact-submit.is-submitting {
    opacity: 0.7;
    cursor: progress;
}

/* Honeypot: kept out of view and out of the keyboard order */
.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Status messages */
.contact-alert {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 4px;
    font-size: 0.9375rem;
}

    .contact-alert:focus {
        outline: 2px solid var(--blue);
        outline-offset: 2px;
    }

    .contact-alert p {
        margin: 0;
    }

        .contact-alert p + ul {
            margin-top: 8px;
        }

    .contact-alert ul {
        margin: 0;
        padding-left: 1.2em;
    }

.contact-alert-success {
    background: #eef8f0;
    border-color: #a9d6b2;
    color: #1d4d27;
}

.contact-alert-error {
    background: #fdf1f0;
    border-color: #eab3ad;
    color: #7a1d14;
}

.contact-alert-info {
    background: var(--tint);
    border-color: #b7cde6;
    color: #1b3d63;
}

.contact-alert a {
    color: inherit;
    font-weight: 600;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .contact-details,
    .contact-form-panel {
        padding: 20px;
    }

    .contact-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-submit {
        width: 100%;
    }
}

/*Captcha Setting*/

.contact-captcha {
    margin-top: 1.25rem;
}

.contact-captcha-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0 0.75rem;
    flex-wrap: wrap;
}

.contact-captcha-image {
    width: 220px;
    height: 70px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
}

.contact-captcha-refresh {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.contact-captcha-input {
    max-width: 220px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}