.home-hero {
    color: #f6f9ff;
    background: radial-gradient(ellipse at 76% 45%, #102546 0%, #0a1933 48%, #08152c 78%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 8vw, 7.5rem);
    min-height: clamp(30rem, 49vw, 38rem);
    padding-block: 2.5rem;
}

.home-hero h1 {
    max-inline-size: 11ch;
    font-size: clamp(3.6rem, 6.25vw, 6.25rem);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.1;
    text-wrap: balance;
}

.home-hero .lead {
    max-width: 37ch;
    color: #d6e3f5;
    line-height: 1.55;
}

.home-hero .actions { gap: .8rem 1.55rem; }
.home-hero .button { background: #175bd8; }
.home-hero .button:hover { background: #1451bd; }
.home-hero .text-link { color: #e3efff; }
.home-hero a:focus-visible { outline-color: #a9daff; }

.home-diagram {
    display: block;
    width: min(100%, 34rem);
    height: auto;
    justify-self: end;
    overflow: visible;
}

.home-diagram text {
    fill: #dfebfc;
    font-size: 15.5px;
    font-weight: 590;
}

.home-diagram-pulse { opacity: 0; }

.home-section { padding-block: clamp(2.75rem, 5.5vw, 4.85rem); }
.home-section h2 { font-weight: 620; }
.home-services, .home-products { display: grid; column-gap: 2.5rem; }
.home-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-section:has(.home-services) { padding-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.home-products-section { border-top: 1px solid var(--line); padding-top: clamp(1.5rem, 3vw, 2.5rem); }

.home-service {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 1.1rem;
    align-content: start;
    padding-block: 1.25rem;
    border-top: 1px solid var(--line);
}

.home-service > div { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.home-service p, .home-product p { margin-top: .55rem; }
.home-product > div { display: flex; align-items: center; gap: .8rem; }
.home-product + .home-product { border-left: 1px solid var(--line); padding-left: 1.45rem; }
.home-icon { flex-shrink: 0; color: #1758b8; }
.home-service, .home-product { color: inherit; text-decoration: none; }
.home-service:is(:hover, :focus-visible), .home-product:is(:hover, :focus-visible) {
    color: var(--blue);
    background-color: #edf3f9;
}
.home-service:focus-visible, .home-product:focus-visible { outline-offset: 2px; }
.home-section h3 span, .home-section .text-link span { display: inline-block; color: var(--blue); font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
    .home-diagram-layer { animation: home-layer-in .52s cubic-bezier(.18, .7, .35, 1) both; }
    .home-diagram-integration { animation-delay: .11s; }
    .home-diagram-cloud { animation-delay: .22s; }
    .home-diagram-route { animation: home-route-in .28s ease-out .48s both; }
    .home-diagram-pulse {
        stroke-dasharray: .12 1;
        stroke-dashoffset: .12;
        animation: home-connection-pulse 1.12s ease-in-out .65s both;
    }
    .home-section h3 span, .home-section .text-link span { transition: transform .18s ease; }
    .home-service, .home-product { transition: background-color .18s ease; }
    .home-section a:is(:hover, :focus-visible) span { transform: translateX(3px); }
}

@keyframes home-layer-in {
    from { transform: translateY(9px); opacity: .28; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes home-route-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes home-connection-pulse {
    0% { stroke-dashoffset: .12; opacity: 0; }
    12%, 84% { opacity: 1; }
    100% { stroke-dashoffset: -1; opacity: 0; }
}

@media (max-width: 800px) {
    .home-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 1.6rem; padding-block: 3.25rem 1rem; }
    .home-hero h1 { max-inline-size: 13ch; font-size: clamp(3rem, 10vw, 4.5rem); }
    .home-diagram { width: min(92%, 28rem); justify-self: center; }
}

@media (max-width: 630px) {
    .home-services, .home-products { grid-template-columns: 1fr; }
    .home-product + .home-product { margin-top: 1.15rem; border-left: 0; border-top: 1px solid var(--line); padding: 1.15rem 0 0; }
    .home-service { grid-template-columns: 2.45rem minmax(0, 1fr); gap: .65rem; }
    .home-service > div { padding-left: .85rem; }
}
