/* ============================================================
   Styles specific to Solutions - AI & Robitics Page only
   ============================================================ */

.nav-link_ai-robotics {
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
	color: var(--text) !important;
}

/* ── H1 SIZE (ai uses a slightly smaller h1 than main) ── */
h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

/* ── NAV ACTIVE UNDERLINE (ai & bc have this; main does not) ── */
.nav-links a.active {
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

/* ── PILL MARGIN ── */
.pill {
    margin-bottom: 1.6rem;
}

.hero-inner {
    gap: 60px;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.17fr);
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-left .lede {
        max-width: unset;
    }
}

.primitive-content {
    overflow: auto;
}

/* ── PRIMITIVES BLOCK ── */
.primitives-block {
    background: unset;
    border: unset;
    border-radius: unset;
    display: flex;
}

.primitives-block svg path {
    fill: var(--border-strong);
}

.primitives-custom {
    flex-direction: column;
    display: flex;
    justify-content: center;
}

.primitives-eyebrow {
    border-bottom: 0;
    padding: 0.95rem 1.4rem 0.949rem;
    /* margin-top: -49px; */
}

.primitive {
    padding: 1.1rem 1.4rem;
}

@media (max-width: 768px) {
    .primitives-block img {
        max-width: 148px;
        margin-top: 53px;
    }

    .primitive {
        flex-direction: column;
        padding: 1rem 0 1rem 1.4rem;
    }

    .primitives-block {
        align-items: center;
    }

    .primitives-eyebrow {
        margin-top: 0;
    }
}

/* ── PRIM ANIMATIONS (unique to ai — pulse & cursor glow) ── */
.prim-bar.appending {
    fill: var(--accent);
    animation: prim-pulse 2.4s ease-in-out infinite;
}

@keyframes prim-pulse {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.7;
    }
}

.prim-tick {
    stroke: var(--text-dim);
    stroke-width: 0.6;
    opacity: 0.5;
}

.prim-event {
    fill: var(--text-dim);
    opacity: 0.55;
}

.prim-event.live {
    fill: var(--accent);
    opacity: 1;
}

.prim-cursor-line {
    stroke: var(--accent);
    stroke-width: 0.8;
}

.prim-cursor-glow {
    fill: var(--accent);
    opacity: 0.18;
    animation: prim-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes prim-pulse-dot {

    0%,
    100% {
        opacity: 0.10;
        r: 4;
    }

    50% {
        opacity: 0.30;
        r: 7;
    }
}

/* ── PAINS SECTION ── */
.pains-section {
    padding: 6rem 2.4rem;
    border-top: 1px solid var(--border);
}

.pains-head,
.plains-body {
    max-width: 1240px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: start;
    position: relative;
}

.pains-head {
     align-items: center;
}

.pains-head h2 {
    max-width: 700px;
}

.pains-head .lede {
    margin-top: 1rem;
}

.plains-body  {
    gap: 1.875rem;
}

.plains-note {
    padding: 1.2rem 1.4rem;
    position: relative;
    width: 280px;
}

.plains-note small {
    position: absolute;
    right: 0;
    color: #F772A6;
}

.plains-note p {
    font-size: 0.881rem;
}

.plains-note strong {
    display: block;
    font-size: 0.93rem;
}

.pains-stack {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    min-width: 648px;
    list-style: none;
}

@media (max-width: 1024px) {
    .pains-head {
    flex-direction: column;   
        gap: 20px;
    }

    .plains-body {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .plains-note { 
        width: unset;
        padding: 0;
    }

    .plains-note  .lede {
        max-width: unset;
    }
}

@media (max-width: 768px) {
    .pains-stack {
        grid-template-columns: repeat(3, 1fr);
        min-width: unset;
    }
}

.stack-piece {
    padding: 0.75rem 0.25rem;
    border: 0.594px solid var(--border-strong);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.25rem;
}

.stack-piece svg {
    margin-bottom: 0.5rem;
}

.stack-piece .name {
    font-family: 'Geist Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-2);
}

.stack-piece .role {
    font-family: 'Geist Mono', monospace;
    font-size: 0.62rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pains-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 0;
    list-style: none;
    padding: 0;
}

.pain-row {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 1.2rem;
    align-items: start;
    padding: 1.2rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 2px solid #F772A6;
    border-radius: 0;
}

.pains-grid .pain-row:not(:first-child) {
    border-top: 0;
}

.pain-row .pn {
    font-family: 'Geist Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    padding-top: 2px;
}

.pain-row .pt {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.pain-row .pt h3 {
    color: var(--text);
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    letter-spacing: normal;
    line-height: 1.4;
}

.pain-row .pt p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ── MAP / HOW CONTINUUM SOLVES ── */
.map-section {
    padding: 6rem 2.4rem;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.map-head {
    max-width: 1240px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    gap: 3.25rem;
    justify-content: space-between;
}

.map-head h2 {
    max-width: 700px;
}

.map-head .lede {
    margin-top: 1rem;
}

.map-stack {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    width: 648px;
}

.map-stack .stack-piece {
    gap: 0.856rem;
    align-self: center;
}

.map-stack .stack-piece svg {
    margin-bottom: 0
}

.map-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    list-style: none;
    padding: 0;
}

.map-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.6rem 1.5rem;
}

.map-grid > .map-card:nth-child(odd) {
    border-left: 2px solid #28D3D0;
    border-right: 0;
}

.map-grid > .map-card:not(:nth-last-child(-n + 2)) {
    border-bottom: 0;
}

.map-card .map-tag {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.map-card h3,
.map-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.map-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .map-head {
        flex-direction: column;   
        gap: 20px;
    }
}

@media (max-width: 880px) {
    .map-grid {
        grid-template-columns: 1fr;
    }

    .map-grid > .map-card:nth-child(odd),
    .map-grid > .map-card:nth-child(even) {
        border-left: 2px solid #28D3D0;
        border-right: 1px solid var(--border);
    }

    .map-grid > .map-card:not(:nth-last-child(1)) {
        border-bottom: 0;
    }
}

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

/* ── SEGMENTS ── */
.seg-section {
    padding: 6rem 2.4rem;
    border-top: 1px solid var(--border);
}

.seg-head {
    max-width: 1240px;
    margin: 0 auto 3rem;
}

.seg-head h2 {
    max-width: 700px;
}

.seg-head .lede {
    margin-top: 1rem;
}

.seg-list {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 1.4rem;
    list-style: none;
    padding: 0;
}

.seg-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.2rem 2rem;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
}

@media (max-width: 880px) {
    .seg-card {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }
}

.seg-card.lead {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
}

.seg-tag {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.seg-card.lead .seg-tag {
    color: var(--accent);
}

.seg-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
}

.seg-card .seg-companies {
    font-family: 'Geist Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.seg-detail h4 {
    font-size: 0.94rem;
    color: var(--text-2);
    margin-bottom: 0.6rem;
    font-weight: 500;
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seg-detail .pain-block {
    padding: 1rem 1.2rem;
    background: var(--surface-2);
    border-radius: 8px;
    border-left: 2px solid var(--border-strong);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.55;
}

.seg-card.lead .seg-detail .pain-block {
    border-left-color: var(--accent);
}

.seg-detail .answer-block {
    padding: 1rem 1.2rem;
    background: var(--surface-2);
    border-radius: 8px;
    border-left: 2px solid var(--accent);
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.55;
}

.pain-block p,
.answer-block p {
    color: var(--text-2);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
}

/* ── WHY / COMPARISON CARDS ── */
.why-section {
    padding: 6rem 2.4rem;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
}

.why-head {
    max-width: 1240px;
    margin: 0 auto 3rem;
}

.why-head h2 {
    max-width: 700px;
}

.why-head .lede {
    margin-top: 1rem;
}

.why-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
}

@media (max-width: 880px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.6rem 1.5rem;
}

.why-card-tag {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.why-card h3,
.why-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.why-card .examples {
    font-family: 'Geist Mono', monospace;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── FOOTER HEADING (ai uses h3 selector only) ── */
.footer-col h3 {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}
 