/* ==========================================================================
   EVIA SOFT - homepage
   Editorial technology layout: monochrome foundation, one accent used
   sparingly, alternating light and immersive black sections.
   Everything is scoped to .evia so it cannot leak into the rest of the site.
   ========================================================================== */

.evia {
    --ev-ink: #0a0c0f;
    --ev-ink-soft: #14181d;
    --ev-text: #10141a;
    --ev-muted: #5c6672;
    --ev-muted-dark: rgba(255, 255, 255, 0.62);
    --ev-line: #e6e8ec;
    --ev-line-strong: #d3d7dd;
    --ev-line-dark: rgba(255, 255, 255, 0.13);
    --ev-paper: #fbfbfa;
    --ev-surface: #ffffff;
    --ev-surface-2: #f4f5f3;
    --ev-accent: #3cff93;
    --ev-accent-deep: #0d7a47;
    --ev-accent-ink: #06351f;
    --ev-radius: 14px;
    --ev-radius-lg: 20px;

    background: var(--ev-paper);
    color: var(--ev-text);
    font-family: "Plus Jakarta Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Rhythm ---------- */
.ev-section {
    padding: clamp(4.5rem, 9vw, 9rem) 0;
}

.ev-section--flush-top {
    padding-top: 0;
}

.ev-white {
    background: var(--ev-surface);
}

.ev-paper {
    background: var(--ev-paper);
}

.ev-soft {
    background: var(--ev-surface-2);
}

.ev-black {
    position: relative;
    background: var(--ev-ink);
    color: #fff;
    overflow: hidden;
}

.ev-black::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background-image: radial-gradient(rgba(60, 255, 147, 0.16) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.42;
    pointer-events: none;
}

.ev-black .ev-wrap {
    position: relative;
    z-index: 1;
}

.ev-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.ev-rule {
    height: 1px;
    background: var(--ev-line);
    border: 0;
    margin: 0;
}

/* ---------- Type ---------- */
.evia h1,
.evia h2,
.evia h3,
.evia h4 {
    color: inherit;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
}

.ev-display {
    font-size: clamp(2.6rem, 6.2vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.ev-h2 {
    font-size: clamp(1.9rem, 3.9vw, 3.1rem);
    line-height: 1.04;
}

.ev-h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.2;
}

.ev-lead {
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.6;
    color: var(--ev-muted);
    margin: 0;
}

.ev-black .ev-lead,
.ev-black p {
    color: var(--ev-muted-dark);
}

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

.ev-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ev-muted);
}

.ev-black .ev-eyebrow {
    color: rgba(255, 255, 255, 0.55);
}

.ev-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ev-accent);
}

.ev-stack-sm > * + * {
    margin-top: 1rem;
}

.ev-stack > * + * {
    margin-top: 1.5rem;
}

/* ---------- Buttons ---------- */
.ev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.ev-btn svg {
    transition: transform 0.2s ease;
}

.ev-btn:hover svg {
    transform: translateX(3px);
}

.ev-btn-dark {
    background: var(--ev-ink);
    color: #fff;
}

.ev-btn-dark:hover {
    background: #000;
    color: #fff;
}

.ev-btn-light {
    background: #fff;
    color: var(--ev-ink);
}

.ev-btn-light:hover {
    background: #fff;
    color: var(--ev-ink);
}

.ev-btn-outline {
    border-color: var(--ev-line-strong);
    color: var(--ev-text);
    background: transparent;
}

.ev-btn-outline:hover {
    border-color: var(--ev-ink);
    color: var(--ev-text);
}

.ev-btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    background: transparent;
}

.ev-btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ev-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ev-text);
}

.ev-link svg {
    transition: transform 0.2s ease;
}

.ev-link:hover {
    color: var(--ev-accent-deep);
}

.ev-link:hover svg {
    transform: translateX(3px);
}

.ev-black .ev-link {
    color: #fff;
}

.ev-black .ev-link:hover {
    color: var(--ev-accent);
}

.ev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ---------- Hero ---------- */
.ev-hero {
    padding-top: clamp(7rem, 12vw, 10.5rem);
    padding-bottom: 0;
    background: linear-gradient(180deg, var(--ev-paper) 0%, var(--ev-paper) 70%, var(--ev-accent) 70%, var(--ev-accent) 100%);
    text-align: center;
    overflow: hidden;
}

.ev-hero-inner {
    max-width: 880px;
    margin: 0 auto;
}

.ev-hero .ev-display {
    margin-top: 1.4rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
}

.ev-hero .ev-lead {
    max-width: 620px;
    margin: 1.5rem auto 0;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--ev-muted);
}

.ev-hero .ev-actions {
    justify-content: center;
    margin-top: 2.25rem;
}

.ev-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin-top: 2.25rem;
    font-size: 0.85rem;
    color: var(--ev-muted);
}

.ev-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ev-hero-meta span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ev-accent);
}

/* Browser chrome around a real product screen */
.ev-window {
    margin: clamp(3rem, 6vw, 5rem) auto 0;
    max-width: 1100px;
    border: 3px solid var(--ev-ink);
    border-radius: 12px 12px 0 0;
    border-bottom: 0;
    background: #fff;
    box-shadow: 0 34px 80px -38px rgba(10, 12, 15, 0.52);
    overflow: hidden;
}

.ev-window-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(10, 12, 15, 0.14);
    background: var(--ev-surface-2);
}

.ev-window-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d6dae0;
}

.ev-window img {
    display: block;
    width: 100%;
    height: auto;
}

.ev-window + * {
    position: relative;
}

/* ---------- Logo grid ---------- */
.ev-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border-top: 1px solid var(--ev-line);
    border-left: 1px solid var(--ev-line);
}

.ev-logos > div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    padding: 1.25rem;
    border-right: 1px solid var(--ev-line);
    border-bottom: 1px solid var(--ev-line);
}

.ev-logos img {
    max-width: 118px;
    max-height: 34px;
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.ev-logos > div:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ---------- Editorial section head ---------- */
.ev-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ev-head .ev-h2 {
    margin-top: 1rem;
}

@media (max-width: 860px) {
    .ev-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

/* ---------- Capability rows ---------- */
.ev-row {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.75rem clamp(2rem, 5vw, 4.5rem);
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
    border-top: 1px solid var(--ev-line);
}

.ev-row:last-of-type {
    border-bottom: 1px solid var(--ev-line);
}

.ev-row-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-muted);
}

.ev-row-title {
    margin-top: 0.85rem;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.12;
    font-weight: 400;
}

.ev-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.75rem;
    align-content: start;
}

.ev-card {
    display: block;
    padding: 1.15rem 1.25rem;
    border: 1px solid var(--ev-line);
    border-radius: var(--ev-radius);
    background: var(--ev-surface);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ev-card:hover {
    border-color: var(--ev-line-strong);
    box-shadow: 0 10px 24px -14px rgba(10, 12, 15, 0.3);
    transform: translateY(-2px);
}

.ev-card-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ev-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--ev-surface-2);
    border: 1px solid var(--ev-line);
    color: var(--ev-text);
    flex-shrink: 0;
}

.ev-chip svg {
    width: 14px;
    height: 14px;
}

.ev-card h3 {
    font-size: 0.95rem;
    font-weight: 400;
}

.ev-card p {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .ev-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Steps on black ---------- */
.ev-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    border-top: 1px solid var(--ev-line-dark);
}

.ev-step {
    padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 2rem) clamp(1.75rem, 3vw, 2.5rem) 0;
    border-right: 1px solid var(--ev-line-dark);
}

.ev-step:last-child {
    border-right: 0;
}

.ev-step-n {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--ev-accent);
}

.ev-step h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
}

.ev-step p {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 860px) {
    .ev-step {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid var(--ev-line-dark);
    }
    .ev-step:last-child {
        border-bottom: 0;
    }
}

/* ---------- Work ---------- */
.ev-work {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.ev-work-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ev-line);
    border-radius: var(--ev-radius-lg);
    background: var(--ev-surface);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ev-work-card:hover {
    border-color: var(--ev-line-strong);
    box-shadow: 0 22px 44px -28px rgba(10, 12, 15, 0.35);
    transform: translateY(-3px);
}

.ev-work-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ev-surface-2);
    border-bottom: 1px solid var(--ev-line);
}

.ev-work-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ev-work-card:hover .ev-work-media img {
    transform: scale(1.035);
}

.ev-work-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.4rem 1.5rem 1.6rem;
}

.ev-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.ev-tag {
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--ev-line);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--ev-muted);
}

.ev-work-body p {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1 1 auto;
}

.ev-work-body .ev-link {
    margin-top: 1.25rem;
}

@media (max-width: 1020px) {
    .ev-work {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ev-work {
        grid-template-columns: 1fr;
    }
}

/* ---------- Stats ---------- */
.ev-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    border-top: 1px solid var(--ev-line);
}

.ev-stat {
    padding: clamp(1.5rem, 3vw, 2.25rem) 1.25rem clamp(1.5rem, 3vw, 2.25rem) 0;
    border-right: 1px solid var(--ev-line);
}

.ev-stat:last-child {
    border-right: 0;
}

.ev-stat strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--ev-text);
    line-height: 1;
}

.ev-stat span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--ev-muted);
}

@media (max-width: 700px) {
    .ev-stat {
        padding-right: 1rem;
    }
    .ev-stat:nth-child(2n) {
        border-right: 0;
        padding-left: 1rem;
    }
    .ev-stat:nth-child(n + 3) {
        border-top: 1px solid var(--ev-line);
    }
}

/* ---------- Split feature on black ---------- */
.ev-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .ev-split {
        grid-template-columns: 1fr;
    }
}

.ev-checks {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.ev-checks li {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.75rem;
    border-top: 1px solid var(--ev-line-dark);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}

.ev-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.35rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ev-accent);
}

.ev-panel-dark {
    border: 1px solid var(--ev-line-dark);
    border-radius: var(--ev-radius-lg);
    background: var(--ev-ink-soft);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.ev-panel-dark img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.ev-ai-showcase {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ev-showcase-kicker {
    color: var(--ev-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.ev-ai-showcase h3 {
    max-width: 520px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.12;
}

.ev-ai-showcase p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.94rem;
    line-height: 1.65;
}

.ev-ai-showcase img {
    margin-top: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ev-ai-showcase .ev-link {
    margin-top: 0.25rem;
}

/* ---------- Quote ---------- */
.ev-quote {
    max-width: 960px;
}

.ev-quote blockquote {
    margin: 1.75rem 0 0;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    line-height: 1.22;
    font-weight: 400;
    color: var(--ev-text);
}

.ev-black .ev-quote blockquote {
    color: #fff;
}

.ev-quote-by {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ev-line);
    font-size: 0.9rem;
    color: var(--ev-muted);
}

.ev-quote-by strong {
    color: var(--ev-text);
}

/* ---------- Stack ---------- */
.ev-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    border-top: 1px solid var(--ev-line);
    border-left: 1px solid var(--ev-line);
}

.ev-stack-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.4rem 0.75rem;
    border-right: 1px solid var(--ev-line);
    border-bottom: 1px solid var(--ev-line);
    text-align: center;
}

.ev-stack-grid img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.ev-stack-grid > div:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.ev-stack-grid span {
    font-size: 0.76rem;
    color: var(--ev-muted);
}

/* ---------- Team proof split ---------- */
.ev-testimonial-split {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    min-height: 520px;
    background: linear-gradient(180deg, #21724f 0%, var(--ev-accent) 100%);
    color: #fff;
}

.ev-testimonial-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 7vw, 6.5rem) clamp(2rem, 6vw, 6rem);
}

.ev-proof-pill {
    width: fit-content;
    margin-bottom: 1.35rem;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    background: #fff;
    color: #253044;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.ev-testimonial-copy h2 {
    max-width: 610px;
    color: #fff;
    font-size: 3rem;
    line-height: 1.18;
}

.ev-proof-by {
    margin-top: 2.8rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.26);
    font-size: 1.05rem;
    line-height: 1.45;
}

.ev-proof-by strong,
.ev-proof-by span {
    display: block;
}

.ev-proof-by span {
    color: rgba(255, 255, 255, 0.76);
}

.ev-testimonial-media {
    min-height: 520px;
    overflow: hidden;
}

.ev-testimonial-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Technology tabs ---------- */
.ev-tech {
    background: #fff;
}

.ev-tech-intro {
    max-width: 1180px;
    margin: 0 auto clamp(3rem, 7vw, 5.25rem);
    text-align: center;
}

.ev-tech-intro .ev-h2 {
    max-width: none;
    font-size: 4rem;
}

.ev-tech-intro .ev-lead {
    max-width: 980px;
    margin: 1.15rem auto 0;
    color: #637193;
}

.ev-tech-tabs {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid #d9e2f1;
}

.ev-tech-tab {
    position: relative;
    appearance: none;
    margin: 0;
    padding: 0 0 1.45rem;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ev-tech-tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--ev-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.ev-tech-tab.is-active {
    color: #000;
}

.ev-tech-tab.is-active::after {
    transform: scaleX(1);
}

.ev-tech-panels {
    margin-top: clamp(2rem, 5vw, 4rem);
}

.ev-tech-panel[hidden] {
    display: none;
}

.ev-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.ev-tech-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    border: 1px solid rgba(16, 20, 26, 0.06);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(17, 24, 39, 0.06);
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ev-tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(60, 255, 147, 0.42);
    box-shadow: 0 22px 55px rgba(17, 24, 39, 0.1);
}

.ev-tech-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.ev-tech-card h3 {
    margin-top: 1.15rem;
    color: #637193;
    font-size: 1.12rem;
    font-weight: 400;
}

.ev-tech-card p {
    max-width: 260px;
    margin-top: 0.65rem;
    color: #7a8497;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* ---------- Closing CTA ---------- */
.ev-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 800px) {
    .ev-cta {
        grid-template-columns: 1fr;
    }
}

.ev-cta .ev-h2 {
    color: #fff;
}

.ev-accent-cta {
    background: linear-gradient(180deg, #43ff9c 0%, var(--ev-accent) 100%);
    color: var(--ev-accent-ink);
}

.ev-accent-cta .ev-eyebrow,
.ev-accent-cta .ev-lead,
.ev-accent-cta p {
    color: rgba(6, 53, 31, 0.72);
}

.ev-accent-cta .ev-eyebrow::before {
    background: var(--ev-ink);
}

.ev-accent-cta .ev-h2 {
    color: var(--ev-accent-ink);
}

.ev-accent-cta .ev-btn-light {
    background: var(--ev-ink);
    color: #fff;
}

.ev-accent-cta .ev-btn-light:hover {
    background: #000;
    color: #fff;
}

.ev-accent-cta .ev-btn-ghost {
    border-color: rgba(6, 53, 31, 0.28);
    color: var(--ev-accent-ink);
}

.ev-accent-cta .ev-btn-ghost:hover {
    border-color: rgba(6, 53, 31, 0.58);
    color: var(--ev-accent-ink);
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- Motion ---------- */
.ev-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ev-reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .evia * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    .ev-reveal {
        opacity: 1;
        transform: none;
    }
}

.evia a:focus-visible,
.evia button:focus-visible {
    outline: 2px solid var(--ev-accent-deep);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Navbar over the light hero ----------
   The shared navbar is built for dark headers: white wordmark and white
   links. On the off-white hero that leaves it invisible, so this page
   flips it to the dark wordmark and ink links until the sticky state. */
.evia-light-nav .st-nav .navbar-brand .logo.d-none.d-md-inline-block {
    display: none !important;
}

.evia-light-nav .st-nav .navbar-brand .logo.logo-sticky {
    display: inline-block !important;
}

.evia-light-nav .st-nav .st-root-link,
.evia-light-nav .st-nav .nav-link {
    color: var(--ev-text, #10141a);
}

.evia-light-nav .st-nav .st-root-link:hover,
.evia-light-nav .st-nav .nav-link:hover {
    color: #000;
}

.evia-light-nav .st-nav .navbar-toggler .icon-bar {
    background-color: #10141a;
}

.evia-light-nav .st-nav .btn-solid {
    background: #0a0c0f;
    border-color: #0a0c0f;
    color: #fff;
}

.evia-light-nav .st-nav .btn-solid:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* ---------- Logo grid: fixed columns so rows always fill ---------- */
.ev-logos {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 900px) {
    .ev-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .ev-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 15 stack items: 5 or 3 per row always fills, auto-fit left a ragged row */
.ev-stack-grid {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 900px) {
    .ev-stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* between md and lg the shared navbar wraps onto two rows; give the hero room */
@media (min-width: 768px) and (max-width: 991px) {
    .ev-hero {
        padding-top: 9.5rem;
    }
}

/* keep hyphenated compounds (e.g. "software-ul") from splitting at the hyphen */
.ev-nb {
    white-space: nowrap;
}

/* ---------- Homepage refinements ----------
   Keep the earlier homepage shape, but make the client strip feel like a
   premium product launch surface with two moving rows of logos. */
.evia h1,
.evia h2,
.evia h3,
.evia h4,
.ev-display,
.ev-h2,
.ev-h3,
.ev-row-title,
.ev-stat strong,
.ev-quote blockquote {
    letter-spacing: -0.02em;
}

.ev-display {
    letter-spacing: -0.035em;
}

.ev-display {
    font-size: 5rem;
}

.ev-h2 {
    font-size: 3.1rem;
}

.ev-h3 {
    font-size: 1.35rem;
}

.ev-lead {
    font-size: 1.12rem;
}

.ev-row-title {
    font-size: 1.8rem;
}

.ev-stat strong {
    font-size: 2.35rem;
}

.ev-quote blockquote {
    font-size: 2.25rem;
}

.ev-logo-marquee {
    position: relative;
    display: grid;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--ev-line);
    border-bottom: 1px solid var(--ev-line);
    background: var(--ev-surface);
}

.ev-logo-marquee::before,
.ev-logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 10vw;
    min-width: 72px;
    pointer-events: none;
}

.ev-logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--ev-surface), rgba(255, 255, 255, 0));
}

.ev-logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--ev-surface), rgba(255, 255, 255, 0));
}

.ev-logo-row {
    overflow: hidden;
}

.ev-logo-row + .ev-logo-row {
    border-top: 1px solid var(--ev-line);
}

.ev-logo-track {
    display: flex;
    width: max-content;
    animation: evLogoMarquee 34s linear infinite;
}

.ev-logo-row-reverse .ev-logo-track {
    animation-name: evLogoMarqueeReverse;
    animation-duration: 38s;
}

.ev-logo-marquee:hover .ev-logo-track {
    animation-play-state: paused;
}

.ev-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14.285vw;
    min-width: 142px;
    min-height: 96px;
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--ev-line);
}

.ev-logo-cell img {
    display: block;
    width: auto;
    height: auto;
    max-width: 118px;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.48;
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.ev-logo-cell:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

@keyframes evLogoMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes evLogoMarqueeReverse {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ev-logo-track {
        animation: none;
    }
}

@media (max-width: 900px) {
    .ev-display {
        font-size: 4rem;
    }

    .ev-h2 {
        font-size: 2.55rem;
    }

    .ev-logo-cell {
        flex-basis: 25vw;
        min-width: 130px;
        min-height: 86px;
    }

    .ev-testimonial-split {
        grid-template-columns: 1fr;
    }

    .ev-testimonial-media {
        min-height: 360px;
    }

    .ev-tech-intro .ev-h2 {
        font-size: 3rem;
    }

    .ev-tech-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 0.25rem;
    }

    .ev-tech-tab {
        flex: 0 0 auto;
    }

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

@media (max-width: 560px) {
    .ev-display {
        font-size: 2.8rem;
        line-height: 1;
    }

    .ev-h2 {
        font-size: 2rem;
    }

    .ev-h3 {
        font-size: 1.15rem;
    }

    .ev-lead {
        font-size: 1rem;
    }

    .ev-row-title {
        font-size: 1.35rem;
    }

    .ev-stat strong {
        font-size: 1.8rem;
    }

    .ev-quote blockquote {
        font-size: 1.45rem;
    }

    .ev-logo-cell {
        flex-basis: 50vw;
        min-width: 124px;
        min-height: 78px;
        padding: 0.85rem;
    }

    .ev-logo-cell img {
        max-width: 104px;
        max-height: 32px;
    }

    .ev-testimonial-copy {
        padding: 3rem 1.25rem;
    }

    .ev-testimonial-copy h2 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .ev-proof-by {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .ev-testimonial-media {
        min-height: 260px;
    }

    .ev-tech-intro {
        text-align: left;
    }

    .ev-tech-intro .ev-h2 {
        font-size: 2.2rem;
    }

    .ev-tech-tabs {
        gap: 1.25rem;
    }

    .ev-tech-tab {
        padding-bottom: 1rem;
        font-size: 0.85rem;
        letter-spacing: 0.08em;
    }

    .ev-tech-grid {
        grid-template-columns: 1fr;
    }

    .ev-tech-card {
        min-height: 170px;
    }
}
