.aib-home {
    --aib-ink: #10233f;
    --aib-muted: #5e6f86;
    --aib-line: rgba(16, 35, 63, 0.12);
    --aib-blue: #2368f2;
    --aib-cyan: #36c6d8;
    --aib-soft: #f4f8ff;
    color: var(--aib-ink);
    overflow: hidden;
}

.aib-home-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(91, 213, 224, 0.24), transparent 28%),
        linear-gradient(135deg, #f3f7ff 0%, #ffffff 55%, #f4fbff 100%);
    border-bottom: 1px solid var(--aib-line);
}

.aib-home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(36px, 7vw, 110px);
    align-items: center;
    min-height: 590px;
    padding-top: clamp(72px, 10vw, 128px);
    padding-bottom: clamp(72px, 10vw, 128px);
}

.aib-eyebrow {
    margin: 0 0 18px;
    color: var(--aib-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.aib-home-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--aib-ink);
    font-size: clamp(42px, 5.6vw, 78px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.06;
}

.aib-home-lead {
    max-width: 600px;
    margin: 28px 0 0;
    color: var(--aib-muted);
    font-size: clamp(17px, 1.7vw, 21px);
    line-height: 1.75;
}

.aib-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.aib-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.aib-button:hover {
    transform: translateY(-2px);
}

.aib-button-primary {
    background: var(--aib-ink);
    box-shadow: 0 12px 24px rgba(16, 35, 63, .16);
    color: #fff;
}

.aib-button-primary:hover { background: var(--aib-blue); color: #fff; }

.aib-button-secondary {
    border-color: var(--aib-line);
    background: rgba(255, 255, 255, .68);
    color: var(--aib-ink);
}

.aib-button-secondary:hover { background: #fff; color: var(--aib-blue); }

.aib-home-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 36px;
    color: var(--aib-muted);
    font-size: 12px;
}

.aib-home-signals span::before {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 8px 1px 0;
    border-radius: 50%;
    background: var(--aib-cyan);
    content: '';
}

.aib-hero-card {
    position: relative;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid rgba(35, 104, 242, .16);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 80px rgba(16, 35, 63, .12);
}

.aib-hero-card::after {
    position: absolute;
    right: -22px;
    bottom: -22px;
    z-index: -1;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(54, 198, 216, .17);
    content: '';
    filter: blur(4px);
}

.aib-hero-card-top {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--aib-muted);
    font-family: var(--font-family-mono);
    font-size: 11px;
    letter-spacing: .04em;
}

.aib-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #36c6a0;
    box-shadow: 0 0 0 5px rgba(54, 198, 160, .12);
}

.aib-live-label {
    margin-left: auto;
    color: #299b83;
    font-size: 10px;
    font-weight: 700;
}

.aib-hero-card-title {
    margin-top: 42px;
    color: var(--aib-ink);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.2;
}

.aib-hero-flow {
    display: flex;
    align-items: center;
    margin-top: 42px;
}

.aib-flow-node {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.aib-flow-node b {
    color: var(--aib-blue);
    font-family: var(--font-family-mono);
    font-size: 11px;
}

.aib-flow-node span {
    color: var(--aib-ink);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.aib-flow-node small {
    color: var(--aib-muted);
    font-size: 11px;
    line-height: 1.5;
    white-space: nowrap;
}

.aib-flow-line {
    flex: 1;
    min-width: 18px;
    height: 1px;
    margin: 0 12px;
    background: linear-gradient(90deg, var(--aib-cyan), rgba(35, 104, 242, .2));
}

.aib-hero-note {
    margin: 40px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--aib-line);
    color: var(--aib-muted);
    font-size: 12px;
    line-height: 1.7;
}

.aib-home-section {
    border-bottom: 1px solid var(--aib-line);
}

.aib-section-inner {
    padding-top: clamp(76px, 9vw, 122px);
    padding-bottom: clamp(76px, 9vw, 122px);
}

.aib-section-heading {
    max-width: 650px;
}

.aib-section-heading-wide { max-width: 780px; }

.aib-section-heading h2 {
    margin: 0;
    color: var(--aib-ink);
    font-size: clamp(32px, 4vw, 54px);
    letter-spacing: -.05em;
    line-height: 1.12;
}

.aib-section-heading > p:last-child {
    margin: 22px 0 0;
    color: var(--aib-muted);
    font-size: 16px;
    line-height: 1.8;
}

.aib-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 52px;
}

.aib-pillar-card {
    min-height: 230px;
    padding: 28px;
    border: 1px solid var(--aib-line);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, var(--aib-soft));
}

.aib-card-number {
    color: var(--aib-blue);
    font-family: var(--font-family-mono);
    font-size: 12px;
    font-weight: 700;
}

.aib-pillar-card h3 {
    margin: 42px 0 12px;
    color: var(--aib-ink);
    font-size: 22px;
    letter-spacing: -.025em;
}

.aib-pillar-card p,
.aib-process-item p {
    margin: 0;
    color: var(--aib-muted);
    font-size: 14px;
    line-height: 1.8;
}

.aib-process { background: var(--aib-ink); }
.aib-process .aib-eyebrow { color: #65d9e4; }
.aib-process .aib-section-heading h2 { color: #fff; }

.aib-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-top: 58px;
}

.aib-process-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.25);
}

.aib-process-item > span {
    color: #65d9e4;
    font-family: var(--font-family-mono);
    font-size: 12px;
    font-weight: 700;
}

.aib-process-item h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
}

.aib-process-item p { color: rgba(255,255,255,.68); }

.aib-process-link { margin-top: 48px; }

.aib-process-link a {
    color: #65d9e4;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.aib-latest-posts { scroll-margin-top: 30px; }

@media (max-width: 900px) {
    .aib-home-hero-inner { grid-template-columns: 1fr; }
    .aib-hero-card { max-width: 680px; }
}

@media (max-width: 640px) {
    .aib-home-hero-inner { min-height: 0; }
    .aib-home-actions { align-items: stretch; flex-direction: column; }
    .aib-button { width: 100%; }
    .aib-hero-flow { align-items: stretch; flex-direction: column; gap: 15px; }
    .aib-flow-line { width: 1px; height: 18px; min-width: 0; margin: 0 0 0 4px; }
    .aib-flow-node span, .aib-flow-node small { white-space: normal; }
    .aib-pillar-grid, .aib-process-grid { grid-template-columns: 1fr; }
    .aib-pillar-card { min-height: 0; }
}
