/* =====================================================================
   AnvrisOne page — Ara, AnvrisOne's AI (the #ara section and the short
   pointers to it elsewhere on the page).
   Loaded only by Views/anvrisOne.cshtml. Reuses the page tokens from
   custom.css (--ao-*) with Ara's pink/violet.
   The site is dark-only, so there is no light theme to mirror here.
   ===================================================================== */

.aone-page {
    --ara-c1: var(--brand-lab);
    --ara-c2: var(--brand-lab);
    --ara-soft: #c4b5fd;
    --ara-line: rgba(167, 139, 250, 0.18);
    --ara-focus: #c4b5fd;
    /* Read by the shared Ara rules in custom.css (accent text, chat) */
    --br-c1: var(--ara-c1);
    --br-c2: var(--ara-c2);
}

/* Visible keyboard focus for everything this file adds */
.ara-news-pill:focus-visible,
.ara-focusable:focus-visible,
.ara-more:focus-visible,
.ara-tab:focus-visible,
.ara-panel:focus-visible,
.aone-roles-tab:focus-visible {
    outline: 2px solid var(--ara-focus);
    outline-offset: 3px;
}

/* Screen-reader-only text (Bootstrap's helper isn't in this build) */
.ara-sr {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ---- Hero: "New · Ara" announcement pill ---- */
.aone-pill.ara-news-pill {
    gap: 8px;
    color: #e9d5ff;
    background: rgba(167, 139, 250, 0.12);
    border-color: rgba(167, 139, 250, 0.35);
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.aone-pill.ara-news-pill .ara-logo img {
    width: 20px;
    height: 20px;
}

.aone-pill.ara-news-pill b {
    font-weight: 700;
    color: var(--ara-c1);
    filter: brightness(1.35);
}

.aone-pill.ara-news-pill svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.aone-pill.ara-news-pill:hover {
    color: #ffffff;
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(196, 181, 253, 0.55);
    transform: translateY(-2px);
}

.aone-pill.ara-news-pill:hover svg {
    transform: translateX(3px);
}

@keyframes ara-pulse {
    0% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(167, 139, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); }
}

/* Keep the merged tagline to two lines on desktop */
.ara-hero-lead {
    max-width: 720px;
}

@media (prefers-reduced-motion: reduce) {
    .aone-pill.ara-news-pill,
    .aone-pill.ara-news-pill svg {
        transition: none;
    }

    .aone-pill.ara-news-pill:hover,
    .aone-pill.ara-news-pill:hover svg {
        transform: none;
    }
}

/* ---- Ara's logo (static) and "Ara is working" mark (animated) ---- */
.ara-logo {
    display: inline-flex;
    flex: 0 0 auto;
}

.ara-logo img {
    display: block;
    width: auto; /* honour the width attribute over the theme's global img { width: 100% } */
    max-width: none;
    height: auto;
}

.ara-head-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.ara-head-logo .ara-working {
    width: 112px;
    height: 112px;
}

.aone-chat-avatar img {
    width: 34px;
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.45));
}

.ara-addon-logo img,
.aone-faq-group .ara-logo img {
    width: 28px;
}

/* The violet sparkles sit in the dark centre of the mark, so give them a soft halo on these dark
   backgrounds instead of letting them go muddy (never a white box). */
.ara-working {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.ara-working::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.30) 0%, rgba(167, 139, 250, 0.10) 45%, transparent 70%);
}

.ara-working img {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
}

.ara-thinking .ara-working {
    width: 44px;
    height: 44px;
}

/* ---- Sample chat: thinking state and replay (driven by the page script) ---- */
figure.aone-chat {
    margin: 0;
}

.aone-chat-body > * {
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.aone-chat-body > .is-pending {
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
}

/* The thinking row and the reply share one grid cell, so the chat never changes height */
.ara-slot {
    display: grid;
    justify-items: start;
    align-items: start;
}

.ara-slot > * {
    grid-area: 1 / 1;
}

.ara-slot > .aone-msg--ai {
    transition: opacity 0.35s ease, visibility 0.35s;
}

.ara-thinking {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 8px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.ara-slot.is-thinking .ara-thinking {
    opacity: 1;
    visibility: visible;
}

.ara-slot.is-thinking > .aone-msg--ai {
    opacity: 0;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .aone-chat-body > *,
    .ara-slot > .aone-msg--ai,
    .ara-thinking {
        transition: none;
    }
}

/* ---- Sample chat: status card in Ara's reply (static illustration) ---- */
.ara-run-card {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--ara-line);
}

.ara-run-card-h {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin-bottom: 8px;
    font-size: 12px;
}

.ara-run-card-h b {
    color: var(--ara-soft);
    letter-spacing: 0.5px;
}

.ara-run-card-h span {
    color: rgba(255, 255, 255, 0.7);
}

.ara-run-steps {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.ara-run-steps li {
    position: relative;
    padding: 3px 0 3px 22px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.ara-run-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: center / 9px no-repeat;
}

.ara-run-steps li.is-done::before {
    background-color: rgba(46, 230, 182, 0.16);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5 7 11.5 12 5' stroke='%2334d399' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ara-run-steps li.is-loop::before {
    background-color: rgba(245, 165, 36, 0.16);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M12.5 6A5 5 0 1 0 13 9.5M12.5 2.5V6H9' stroke='%23f5a524' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ara-run-steps li.is-wait {
    color: #ffffff;
    font-weight: 600;
}

.ara-run-steps li.is-wait::before {
    background: transparent;
    border: 2px solid var(--ara-c1);
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.45);
}

.ara-run-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ara-run-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.ara-run-btn--primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--ara-c1), var(--ara-c2));
    box-shadow: 0 6px 18px rgba(167, 139, 250, 0.35);
}

/* =====================================================================
   The Ara section (#ara): header, three-part tabs, footer
   ===================================================================== */
.ara {
    --ara-cycle: 12s;   /* office loop: 6 slots, Ara + 5 agents */
    --ara-slot: 2s;
    position: relative;
    overflow: hidden;
    background: #141218;
    border-top: 1px solid rgba(167, 139, 250, 0.10);
    scroll-margin-top: 80px;
}

.ara-glow {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 1100px;
    height: 700px;
    transform: translateX(-50%);
    background: radial-gradient(50% 50% at 50% 40%, rgba(167, 139, 250, 0.18) 0%, rgba(167, 139, 250, 0.06) 45%, transparent 72%);
    pointer-events: none;
}

.ara-head {
    margin-bottom: 44px;
}

/* Eyebrow: the site's label, in Ara's pink/violet instead of the Anvris blue/green */
.anvris-label.ara-eyebrow,
.anvris-label.ara-eyebrow::before {
    background-image: #A78BFA;
}

.anvris-label.ara-eyebrow {
    margin-bottom: 18px;
    font-weight: 600;
}

.ara-heading {
    line-height: 1.2;
}

.ara-sub {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.66);
}

.ara-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ara-status li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 7px 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(167, 139, 250, 0.10);
    border: 1px solid rgba(167, 139, 250, 0.28);
}

/* Badges use the deeper end of the brand gradient so white text passes AA */
.ara-status em,
.ara-addon-badge {
    padding: 4px 10px 3px;
    border-radius: 20px;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: #7C3AED;
}

/* ---- Tabs: Ask Ara · Her team does the work · Safe by design ---- */
.ara-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-width: 780px;
    margin: 0 auto 44px;
    padding: 6px;
    border-radius: 22px;
    background: #1d1a24;
    border: 1px solid rgba(255, 255, 255, 0.07);
    scroll-margin-top: 100px;
}

.ara-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border: 0;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    color: rgba(255, 255, 255, 0.66);
    background: transparent;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
}

.ara-tab i {
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.ara-tab:hover {
    color: #ffffff;
}

.ara-tab.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(167, 139, 250, 0.28));
    box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.35);
}

.ara-tab.is-active i {
    background: #7C3AED;
}

.ara-panel.is-active {
    animation: aone-fade 0.45s ease both;
}

.ara-panel-head {
    max-width: 760px;
    margin: 0 auto 36px;
}

.ara-panel-title {
    margin-bottom: 14px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

.ara-panel-lead {
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.66);
}

.ara-panel-head .ara-panel-lead {
    margin-bottom: 0;
}

.ara-caps {
    display: grid;
    gap: 12px;
}

.ara-foot {
    margin-top: 44px;
    text-align: center;
}

/* ---- Pointers to #ara from the rest of the page ---- */
.ara-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #C4B5FD;
    text-decoration: none;
}

.ara-more span {
    transition: transform 0.3s ease;
}

.ara-more:hover {
    color: #ffffff;
}

.ara-more:hover span {
    transform: translateX(3px);
}

.ara-pointer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 0;
    padding: 14px 24px;
    border-radius: 40px;
    font-size: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid var(--ara-line);
}

.ara-pointer .ara-more {
    margin: 0;
}

.ara-pointer-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ara-c1), var(--ara-c2));
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.6);
}

/* FAQ: the "Ara (AI)" group */
.aone-faq-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 44px 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    scroll-margin-top: 100px;
}

.aone-faq-item.ara-faq-item[open] {
    border-color: rgba(167, 139, 250, 0.4);
}

.ara-faq-item .aone-faq-icon::before,
.ara-faq-item .aone-faq-icon::after {
    background: var(--ara-soft);
}

@media (max-width: 767px) {
    .ara-panel-title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .ara-tabs {
        gap: 4px;
        padding: 4px;
        border-radius: 18px;
    }

    .ara-tab {
        flex-direction: column;
        gap: 6px;
        padding: 10px 6px;
        border-radius: 14px;
        font-size: 12px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ara-panel.is-active {
        animation: none;
    }

    .ara-tab,
    .ara-more span {
        transition: none;
    }
}

/* ---- The office ---- */
.ara-office {
    position: relative;
    max-width: 1080px;
    margin: 0 auto 40px;
    padding: 1px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(167, 139, 250, 0.5), rgba(255, 255, 255, 0.06) 40%, rgba(167, 139, 250, 0.5));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 90px rgba(167, 139, 250, 0.10);
}

.ara-office-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.ara-office-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 23px 23px 0 0;
    background: #19161f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
}

.ara-office-dots {
    display: flex;
    gap: 6px;
}

.ara-office-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.ara-office-title {
    font-weight: 700;
    color: #ffffff;
}

.ara-office-views {
    display: flex;
    gap: 4px;
    padding: 3px;
    margin-left: auto;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.ara-office-views u {
    padding: 3px 10px;
    border-radius: 7px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.62);
}

.ara-office-views u.is-on {
    color: #ffffff;
    background: rgba(167, 139, 250, 0.35);
}

.ara-office-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #C4B5FD;
}

.ara-office-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ara-c1);
    animation: ara-pulse 2s infinite;
}

.ara-office-room {
    padding: 26px;
    border-radius: 0 0 23px 23px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 34px 34px,
        radial-gradient(90% 70% at 50% 0%, rgba(167, 139, 250, 0.10), transparent 70%),
        #141118;
}

.ara-office-top {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.ara-office-floor {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

/* ---- Desks ---- */
.ara-desk {
    --agent: #a78bfa;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 14px 12px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    animation: ara-desk-card var(--ara-cycle) linear infinite;
    animation-delay: calc(var(--i) * var(--ara-slot));
}

.ara-desk--analyst { --agent: #38bdf8; }
.ara-desk--developer { --agent: #2EE6B6; }
.ara-desk--qa { --agent: #f5a524; }
.ara-desk--reviewer { --agent: #a78bfa; }
.ara-desk--reporter { --agent: #f472b6; }
.ara-desk--lead { --agent: #A78BFA; }

.ara-desk--lead {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    border-color: rgba(167, 139, 250, 0.22);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.07), rgba(167, 139, 250, 0.06));
}

.ara-desk-scene {
    position: relative;
    padding-top: 22px; /* room for the work file above the desk */
}

.ara-desk--lead .ara-desk-scene {
    flex: 0 0 220px;
}

.ara-desk--lead .ara-desk-meta {
    flex: 1;
    min-width: 0;
}

.ara-lead-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.ara-lead-chips u {
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ara-desk-svg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.ara-desk-glow {
    position: absolute;
    left: 50%;
    top: 30%;
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    transform: translate(-50%, -30%);
    background: radial-gradient(circle, color-mix(in srgb, var(--agent) 45%, transparent) 0%, transparent 65%);
    opacity: 0;
    animation: ara-on var(--ara-cycle) linear infinite;
    animation-delay: calc(var(--i) * var(--ara-slot));
    pointer-events: none;
}

/* SVG parts */
.ara-s-shadow { fill: rgba(0, 0, 0, 0.35); }
.ara-s-chair { fill: #2a2533; }
.ara-s-agent { fill: var(--agent); }
.ara-s-antenna { stroke: #ddd8ea; stroke-width: 2; stroke-linecap: round; }
.ara-s-head { fill: #ddd8ea; }
.ara-s-visor { fill: #1b1724; }
.ara-s-eye-light { fill: #ffffff; }
.ara-s-desk { fill: #3a3445; }
.ara-s-desk-front { fill: #221e2a; }
.ara-s-laptop { fill: #4a4358; }
.ara-s-prop { fill: #5b5368; }
.ara-s-plant { fill: none; stroke: #2EE6B6; stroke-width: 3; stroke-linecap: round; }

.ara-s-orb {
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.6));
}

/* Work file chip, passed from desk to desk */
.ara-file {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 6px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    color: #1a1320;
    background: #f5f3ff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 2px var(--agent);
    opacity: 0;
    transform: translateX(-50%);
    animation: ara-file var(--ara-cycle) ease-in-out infinite;
    animation-delay: calc(var(--i) * var(--ara-slot));
}

.ara-file i {
    width: 9px;
    height: 11px;
    border-radius: 2px;
    background: linear-gradient(var(--agent), var(--agent)) 2px 3px / 5px 1.5px no-repeat,
        linear-gradient(var(--agent), var(--agent)) 2px 6px / 5px 1.5px no-repeat,
        #d9d4ec;
}

.ara-desk-meta {
    display: grid;
    gap: 2px;
    margin-top: 8px;
    text-align: center;
}

.ara-desk--lead .ara-desk-meta {
    margin-top: 0;
    text-align: left;
}

.ara-desk-meta b {
    font-size: 13px;
    color: #ffffff;
}

.ara-desk--lead .ara-desk-meta b {
    font-size: 16px;
}

/* Idle / busy labels share one grid cell and cross-fade */
.ara-desk-state {
    display: grid;
    min-height: 34px;
}

.ara-desk-state em {
    grid-area: 1 / 1;
    font-style: normal;
    font-size: 11px;
    line-height: 1.5;
}

.ara-desk-state .is-idle {
    color: rgba(255, 255, 255, 0.62);
    animation: ara-off var(--ara-cycle) linear infinite;
    animation-delay: calc(var(--i) * var(--ara-slot));
}

.ara-desk-state .is-busy {
    color: color-mix(in srgb, var(--agent) 55%, #ffffff);
    font-weight: 600;
    opacity: 0;
    animation: ara-on var(--ara-cycle) linear infinite;
    animation-delay: calc(var(--i) * var(--ara-slot));
}

.ara-desk--lead .ara-desk-state em {
    font-size: 12px;
}

/* ---- Wall board ---- */
.ara-board {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #0d0b11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 40px rgba(167, 139, 250, 0.08);
}

.ara-board-h {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    font-size: 12px;
}

.ara-board-h b {
    color: var(--ara-soft);
    letter-spacing: 0.5px;
}

.ara-board-h span {
    color: rgba(255, 255, 255, 0.72);
}

.ara-board-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ara-board-stats div {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.ara-board-stats span {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
}

.ara-board-stats b {
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
}

.ara-board-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.ara-seg {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    animation: var(--ara-cycle) linear infinite;
}

.ara-seg-1 { animation-name: ara-seg-1; }
.ara-seg-2 { animation-name: ara-seg-2; }
.ara-seg-3 { animation-name: ara-seg-3; }
.ara-seg-4 { animation-name: ara-seg-4; }
.ara-seg-5 { animation-name: ara-seg-5; }

.ara-board-legend {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    font-size: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
}

/* ---- Timeline keyframes (one 12s cycle, a 2s slot per desk) ---- */
@keyframes ara-on {
    0%, 1% { opacity: 0; }
    3%, 15% { opacity: 1; }
    17%, 100% { opacity: 0; }
}

@keyframes ara-off {
    0%, 1% { opacity: 1; }
    3%, 15% { opacity: 0; }
    17%, 100% { opacity: 1; }
}

@keyframes ara-desk-card {
    0%, 1% { border-color: rgba(255, 255, 255, 0.07); }
    3%, 15% { border-color: color-mix(in srgb, var(--agent) 60%, transparent); }
    17%, 100% { border-color: rgba(255, 255, 255, 0.07); }
}

@keyframes ara-file {
    0% { opacity: 0; transform: translate(-90%, 4px); }
    3%, 13% { opacity: 1; transform: translate(-50%, 0); }
    16.6%, 100% { opacity: 0; transform: translate(-10%, 4px); }
}

/* Board segments fill as each slot starts, then reset with the loop */
@keyframes ara-seg-1 { 0%, 16.6% { background: rgba(255, 255, 255, 0.08); } 18%, 99% { background: #38bdf8; } }
@keyframes ara-seg-2 { 0%, 33.3% { background: rgba(255, 255, 255, 0.08); } 35%, 99% { background: #2EE6B6; } }
@keyframes ara-seg-3 { 0%, 50% { background: rgba(255, 255, 255, 0.08); } 52%, 99% { background: #f5a524; } }
@keyframes ara-seg-4 { 0%, 66.6% { background: rgba(255, 255, 255, 0.08); } 68%, 99% { background: #a78bfa; } }
@keyframes ara-seg-5 { 0%, 83.3% { background: rgba(255, 255, 255, 0.08); } 85%, 99% { background: #f472b6; } }

/* Off-screen: pause everything together so the desks stay in sync */
.ara-office.is-paused,
.ara-office.is-paused * {
    animation-play-state: paused !important;
}

/* ---- Feature cards ---- */
.ara-features {
    margin-bottom: -24px;
}

.ara-feature {
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 26px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ara-line);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.ara-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.45);
}

.ara-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    color: #C4B5FD;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(167, 139, 250, 0.18));
}

.ara-feature-icon svg {
    width: 22px;
    height: 22px;
}

.ara-feature-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.ara-feature-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.64);
}

/* ---- How it works ---- */
.ara-how {
    margin-bottom: 40px;
    padding: 30px 30px 26px;
    border-radius: 20px;
    background: #17141d;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ara-how-h {
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: var(--ara-soft);
}

.ara-how-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Connector line behind the numbers */
.ara-how-steps::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--ara-c1), var(--ara-c2));
    opacity: 0.4;
}

.ara-how-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.ara-how-steps i {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ara-c1), var(--ara-c2));
    box-shadow: 0 0 0 5px #17141d;
    transition: background 0.3s ease;
}

.ara-how-steps i b {
    transition: opacity 0.3s ease;
}

/* Active step: the number gives way to Ara working (48px, centred over the 36px dot) */
.ara-how-steps i .ara-working {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ara-how-steps li.is-active i {
    background: #17141d;
}

.ara-how-steps li.is-active i b {
    opacity: 0;
}

.ara-how-steps li.is-active i .ara-working {
    opacity: 1;
}

.ara-how-steps li.is-active > span {
    font-weight: 600;
    color: #ffffff;
}

/* ---- Attribution under the CTA ---- */
.ara-powered {
    margin: 22px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ara-office-top {
        grid-template-columns: 1fr;
    }

    /* Flex so a short last row of desks sits centred */
    .ara-office-floor {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ara-office-floor .ara-desk {
        flex: 0 0 calc((100% - 28px) / 3);
    }

    .ara-how-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ara-how-steps::before {
        top: 18px;
        bottom: 18px;
        left: 17px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--ara-c1), var(--ara-c2));
    }

    .ara-how-steps li {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .ara-how-steps i {
        flex: 0 0 36px;
    }
}

@media (max-width: 767px) {
    .ara-office-room {
        padding: 16px;
    }

    .ara-office-views {
        display: none;
    }
}

@media (max-width: 575px) {
    .ara-office-floor {
        gap: 10px;
    }

    .ara-office-floor .ara-desk {
        flex-basis: calc((100% - 10px) / 2);
    }

    .ara-desk--lead {
        padding: 14px;
        gap: 12px;
    }

    .ara-desk--lead .ara-desk-scene {
        flex-basis: 120px;
    }

    .ara-lead-chips u:nth-child(n+2) {
        display: none;
    }

    .ara-board-stats b {
        font-size: 18px;
    }

    .ara-board-legend {
        font-size: 9px;
    }

    .ara-how {
        padding: 24px 20px;
    }
}

/* =====================================================================
   Spotlight: ticket to pull request (run review mockup)
   ===================================================================== */
.ara-spot-tag {
    color: #C4B5FD;
}

.ara-review {
    border-color: rgba(167, 139, 250, 0.22);
    background: radial-gradient(100% 80% at 100% 0%, rgba(167, 139, 250, 0.10) 0%, transparent 60%), #1a1722;
}

.ara-review .aone-viz-h em.ara-review-status {
    padding: 3px 10px;
    border-radius: 20px;
    color: #C4B5FD;
    background: rgba(167, 139, 250, 0.12);
}

.ara-pr {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.ara-pr-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #ffffff;
}

.ara-pr-top b {
    flex: 1;
    min-width: 0;
}

.ara-pr-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ara-pr-num {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.ara-pr-branch {
    margin-bottom: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
    overflow-wrap: anywhere;
}

.ara-pr-branch code {
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 11px;
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.14);
}

.ara-pr-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.62);
}

.ara-pr-meta i {
    font-style: normal;
    font-weight: 700;
}

.ara-pr-meta .is-add { color: #2EE6B6; }
.ara-pr-meta .is-del { color: #f87171; }

.ara-pr-review {
    color: #a7f3d0;
}

.ara-review-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.ara-tests-h {
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.ara-test {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ara-test small {
    display: block;
    font-size: 10px;
    color: #fcd34d;
}

.ara-test::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(46, 230, 182, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8.5 7 11.5 12 5' stroke='%2334d399' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.ara-test.is-fixed::before {
    background-color: rgba(245, 165, 36, 0.18);
}

.ara-shot {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ara-shot-img {
    position: relative;
    flex: 1;
    min-height: 110px;
    padding: 12px;
    border-radius: 10px;
    background: #f4f2fb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.ara-shot-img i {
    display: block;
    height: 7px;
    margin-bottom: 7px;
    border-radius: 4px;
    background: #ddd8ea;
}

.ara-shot-img .l1 { width: 70%; }
.ara-shot-img .l2 { width: 90%; }
.ara-shot-img .l3 { width: 55%; }

.ara-shot-img span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed #c9c2dc;
    font-size: 12px;
    color: #2b2440;
}

.ara-shot-img u {
    text-decoration: none;
}

.ara-shot small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 575px) {
    .ara-review-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   Part 3 of #ara: Safe by design
   ===================================================================== */
.ara-trust {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 36px;
    align-items: start;
    padding: 36px 40px;
    border-radius: 20px;
    background: radial-gradient(90% 120% at 0% 0%, rgba(167, 139, 250, 0.12) 0%, transparent 60%), #1a1722;
    border: 1px solid var(--ara-line);
}

.ara-trust-title {
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.ara-trust-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.64);
}

.ara-trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ara-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.66);
}

.ara-trust-list b {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: #ffffff;
}

.aone-check.ara-check {
    color: #C4B5FD;
    background: rgba(167, 139, 250, 0.14);
}

@media (max-width: 991px) {
    .ara-trust {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 26px;
    }
}

@media (max-width: 575px) {
    .ara-trust {
        padding: 26px 18px;
    }

    .ara-trust-list {
        grid-template-columns: 1fr;
    }

    .ara-trust-title {
        font-size: 24px;
    }
}

/* =====================================================================
   Pricing: the Ara card (styled like the Outreach add-on)
   ===================================================================== */
@media (min-width: 992px) {
    .aone-addons.ara-addons {
        grid-template-columns: repeat(3, 1fr);
    }
}

.aone-addon.ara-addon {
    border-color: rgba(167, 139, 250, 0.35);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.06), rgba(167, 139, 250, 0.06)), #131920;
}

.aone-addon.ara-addon b {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ara-addon-badge {
    padding: 2px 8px 1px;
    font-size: 10px;
}

.aone-addon.ara-addon a {
    color: #C4B5FD;
}

/* =====================================================================
   Waitlist form: Ara interest checkbox
   ===================================================================== */
.aone-form label.ara-form-check {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    background: rgba(167, 139, 250, 0.07);
    font-size: 14px;
    cursor: pointer;
}

.aone-form .ara-form-check input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    accent-color: #A78BFA;
    cursor: pointer;
}

.aone-form .ara-form-check input:focus {
    box-shadow: none;
}

.aone-form .ara-form-check input:focus-visible {
    outline: 2px solid var(--ara-focus);
    outline-offset: 3px;
}

.aone-form label.ara-form-check span {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.ara-form-check b {
    color: #C4B5FD;
}

.ara-form-check em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.62);
}

/* ---- Social proof: Ara's team line under the stats (links to #ara-team) ---- */
.ara-proof-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #C4B5FD;
}

.ara-proof-line i {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ara-c1), var(--ara-c2));
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.6);
}

.ara-proof-line a {
    color: inherit;
    text-decoration: none;
}

.ara-proof-line a:hover {
    text-decoration: underline;
}

.ara-proof-line a:focus-visible {
    outline: 2px solid var(--ara-focus);
    outline-offset: 3px;
}

/* ---- Reduced motion: a single static frame (Developer at work) ---- */
@media (prefers-reduced-motion: reduce) {
    .ara-office *,
    .ara-desk,
    .ara-office-live i {
        animation: none !important;
    }

    .ara-desk.is-frame {
        border-color: color-mix(in srgb, var(--agent) 60%, transparent);
    }

    .ara-desk.is-frame .ara-desk-glow,
    .ara-desk.is-frame .ara-file,
    .ara-desk.is-frame .ara-desk-state .is-busy {
        opacity: 1;
    }

    .ara-desk.is-frame .ara-desk-state .is-idle {
        opacity: 0;
    }

    .ara-seg-1.is-frame { background: #38bdf8; }
    .ara-seg-2.is-frame { background: #2EE6B6; }

    .ara-feature,
    .ara-feature:hover {
        transition: none;
        transform: none;
    }

    .ara-how-steps i,
    .ara-how-steps i b,
    .ara-how-steps i .ara-working {
        transition: none;
    }
}
