/* ACES — acesltd.in */
:root {
    --navy: #0f2f5c;
    --blue: #1565c0;
    --sky: #29a8e0;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f4f7fb;
    --tint: #eaf3fc;
    --white: #ffffff;
    --grad: linear-gradient(135deg, #0f2f5c 0%, #1565c0 55%, #29a8e0 100%);
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --wrap: 1160px;
}

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

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

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
}

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

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

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

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

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    background: var(--white);
    padding: 8px 12px;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--grad);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(21, 101, 192, 0.25);
}

.btn-outline {
    border-color: var(--line);
    color: var(--ink);
    background: var(--white);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}

.brand img {
    display: block;
    height: 44px;
    width: auto;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    background: none;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--blue);
    background: var(--tint);
}

.nav-link .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 260px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.menu-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.has-menu:hover > .menu-panel,
.has-menu:focus-within > .menu-panel,
.has-menu.open > .menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.has-menu:hover .fa-chevron-down,
.has-menu.open .fa-chevron-down {
    transform: rotate(180deg);
}

.menu-cols {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 1.25rem;
}

.menu-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0.25rem 0.6rem 0.4rem;
}

.menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-panel a {
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    white-space: nowrap;
}

.menu-panel a:hover {
    background: var(--soft);
    color: var(--blue);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 1.1rem;
    cursor: pointer;
}

/* ---------- page hero ---------- */
.page-hero {
    background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%);
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--line);
}

.crumbs {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.crumbs a {
    color: var(--muted);
    text-decoration: none;
}

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

.crumbs span {
    margin: 0 0.4rem;
    opacity: 0.6;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.6rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    max-width: 820px;
    margin-bottom: 0.5rem;
}

.page-hero .lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 720px;
    margin: 0;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.meta-row i {
    margin-right: 0.35rem;
    color: var(--sky);
}

/* ---------- content ---------- */
.section {
    padding: 4.5rem 0;
}

.section-soft {
    background: var(--soft);
}

.section-head {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.content {
    padding: 3.5rem 0 4.5rem;
}

.prose {
    max-width: 780px;
}

.prose.center {
    margin: 0 auto;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    font-size: 1.6rem;
    margin-top: 2.2em;
}

.prose h3 {
    font-size: 1.25rem;
    margin-top: 1.9em;
}

.prose h4 {
    font-size: 1.08rem;
    margin-top: 1.6em;
}

.prose p,
.prose li {
    font-size: 1.04rem;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: 0.45em;
}

.prose li::marker {
    color: var(--sky);
}

.prose img {
    border-radius: var(--radius);
    display: block;
    margin: 1.5rem auto;
}

.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--sky);
    background: var(--soft);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.prose blockquote p {
    margin: 0;
    color: var(--ink);
}

.prose blockquote footer {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
    font-weight: 600;
}

.faq {
    display: grid;
    gap: 0.75rem;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    padding: 0 1.25rem;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 0;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--blue);
    font-size: 1.3rem;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq-body {
    padding-bottom: 1rem;
}

.faq-body > * + * {
    margin-top: 0.8em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.prose td,
.prose th {
    border: 1px solid var(--line);
    padding: 0.6rem 0.8rem;
    text-align: left;
    vertical-align: top;
}

.table-scroll {
    overflow-x: auto;
}

/* ---------- cards ---------- */
.grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

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

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

.prose .grid {
    margin: 1.5rem 0;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.card {
    text-decoration: none;
    color: inherit;
}

a.card:hover {
    border-color: #bcd6f2;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.08rem;
    margin: 0 0 0.4rem;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.card .more {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--tint);
    color: var(--blue);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    flex: none;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
}

a.chip:hover,
.chip.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ---------- stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.stat {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stat span {
    color: var(--muted);
    font-size: 0.92rem;
}

/* ---------- home ---------- */
.hero {
    background: radial-gradient(1200px 500px at 85% -10%, #d7ebfb 0%, rgba(215, 235, 251, 0) 60%), linear-gradient(180deg, #f6fafe 0%, var(--white) 100%);
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 560px;
}

.hero-art {
    width: 100%;
    max-width: 520px;
    justify-self: end;
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.trust i {
    color: var(--sky);
    margin-right: 0.35rem;
}

.feature {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.feature img {
    width: 140px;
    justify-self: center;
}

.feature h3 {
    font-size: 1.5rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 0.6rem;
}

.checklist li {
    display: flex;
    gap: 0.6rem;
}

.checklist i {
    color: var(--sky);
    margin-top: 0.3rem;
}

.quote-card {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.quote-card p {
    font-size: 1.05rem;
    color: var(--ink);
    margin: 0 0 1.25rem;
}

.quote-card footer {
    color: var(--muted);
    font-size: 0.92rem;
}

.quote-card footer strong {
    color: var(--ink);
}

.quote-card .fa-quote-left {
    color: var(--sky);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

/* ---------- blog ---------- */
.list-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search {
    position: relative;
    flex: 0 1 320px;
}

.search input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    font-size: 0.95rem;
    background: var(--white);
}

.search input:focus {
    outline: 2px solid #bcd6f2;
    border-color: var(--blue);
}

.search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.post-card .card-date {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 1rem;
}

.post-card h3 {
    font-size: 1.1rem;
}

.empty {
    display: none;
    color: var(--muted);
    padding: 2rem 0;
}

.article-foot {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

/* ---------- jobs ---------- */
.job-card {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
}

.job-card .icon {
    margin: 0;
}

.job-card .chips {
    margin-top: 0.5rem;
}

.job-card .more {
    margin: 0 0 0 auto;
    padding: 0;
    white-space: nowrap;
}

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.steps .card::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 0 0 2rem;
}

.specs div {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--soft);
    border: 1px solid var(--line);
}

.specs dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 700;
}

.specs dd {
    margin: 0.2rem 0 0;
    color: var(--ink);
    font-weight: 600;
}

/* ---------- contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.contact-grid .card a {
    font-weight: 600;
    text-decoration: none;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--grad);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 0.3rem;
}

.cta-band p {
    margin: 0;
    max-width: 560px;
}

.cta-wrap {
    padding: 0 0 4.5rem;
}

/* ---------- footer ---------- */
.site-footer {
    background: var(--soft);
    border-top: 1px solid var(--line);
    padding: 4rem 0 2rem;
    font-size: 0.93rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr;
    gap: 2.5rem;
}

.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--muted);
    margin: 0 0 1rem;
    max-width: 280px;
}

.site-footer h3 {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--blue);
}

.footer-contact li {
    display: flex;
    gap: 0.6rem;
    color: var(--muted);
}

.footer-contact i {
    color: var(--blue);
    margin-top: 0.3rem;
    width: 14px;
}

.social {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--blue) !important;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.87rem;
}

.footer-bottom nav {
    display: flex;
    gap: 1.25rem;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .header-cta .btn {
        display: none;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 0.75rem 16px 1.25rem;
    }

    .nav-open .main-nav {
        display: block;
    }

    .main-nav > ul {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 0.8rem 0.6rem;
        font-size: 1rem;
    }

    .menu-panel {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0.5rem 0.6rem;
        min-width: 0;
    }

    .has-menu:hover > .menu-panel,
    .has-menu:focus-within > .menu-panel {
        transform: none;
    }

    .has-menu.open > .menu-panel {
        display: block;
        transform: none;
    }

    .menu-cols {
        grid-auto-flow: row;
        gap: 0.5rem;
    }

    .menu-panel a {
        white-space: normal;
    }

    .nav-mobile-cta {
        display: block !important;
        margin-top: 0.75rem;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
    }

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

    .hero-art {
        justify-self: center;
        max-width: 420px;
    }

    .feature {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 16px;
    }

    .section {
        padding: 3.25rem 0;
    }

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

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cta-band {
        padding: 2rem 1.5rem;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-card .more {
        margin: 0;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .search {
        flex-basis: 100%;
    }
}

.nav-mobile-cta {
    display: none;
}
