.home-page {
    --home-blue: #075dce;
    --home-blue-hover: #064fb5;
    --home-text: #101318;
    --home-muted: #505866;
    --home-border: #e8ebef;
    --home-soft: #f7f9fc;
    overflow: hidden;
    background: #ffffff;
    color: var(--home-text);
}

.home-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.home-eyebrow,
.home-section-eyebrow {
    margin: 0;
    color: var(--home-blue);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.home-section-eyebrow {
    letter-spacing: .8em;
}

.home-hero {
    background: #ffffff;
}

.home-hero__grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 64px;
    padding: 52px 0;
}

.home-hero__content {
    min-width: 0;
}

.home-hero h1 {
    max-width: 650px;
    margin: 18px 0 20px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(48px, 4.45vw, 64px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.045em;
}

.home-hero h1 span {
    color: var(--home-blue);
}

.home-hero__lead {
    max-width: 620px;
    margin: 0;
    color: #3f4650;
    font-size: 17px;
    line-height: 27px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.home-button,
.home-card-link {
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.home-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 11px 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.home-button:hover,
.home-card-link:hover {
    transform: translateY(-1px);
}

.home-button--primary {
    border-color: var(--home-blue);
    background: var(--home-blue);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(7, 93, 206, .12);
}

.home-button--primary:hover {
    border-color: var(--home-blue-hover);
    background: var(--home-blue-hover);
}

.home-button--secondary {
    border-color: #b8bec7;
    background: #ffffff;
    color: var(--home-text);
}

.home-button--secondary:hover {
    border-color: var(--home-blue);
    color: var(--home-blue);
}

.home-hero__visual {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}

.home-directions-heading {
    padding: 76px 0 36px;
}

.home-directions-heading h2,
.home-development h2,
.home-georobot h2 {
    margin: 15px 0 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(34px, 3.1vw, 44px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -.035em;
}

.home-directions-heading h2 {
    max-width: 820px;
}

.home-directions {
    padding: 0 0 90px;
}

.home-direction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-direction-card {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: var(--home-soft);
}

.home-direction-card > img {
    display: block;
    width: 100%;
    height: 320px;
    border-radius: 12px;
    object-fit: cover;
    background: #ffffff;
}

.home-direction-card > img.home-direction-card__image--contain {
    object-fit: contain;
}

.home-direction-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-direction-card h3 {
    margin: 24px 0 12px;
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    letter-spacing: -.025em;
}

.home-direction-card p {
    margin: 0;
    color: #505866;
    font-size: 15px;
    line-height: 23px;
}

.home-card-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 16px;
    border: 1px solid #c8ced6;
    border-radius: 6px;
    background: #ffffff;
    color: var(--home-text);
    font-size: 14px;
    font-weight: 600;
}

.home-direction-card p + .home-card-link {
    margin-top: 28px;
}

.home-card-link:hover {
    border-color: var(--home-blue);
    color: var(--home-blue);
}

.home-development {
    padding: 0;
    background: var(--home-soft);
}

.home-development__panel {
    width: min(1320px, calc(100% - 48px));
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 32px;
    padding: 78px 0 96px;
    border-radius: 0;
    background: transparent;
}

.home-development__intro > p:last-child {
    max-width: 430px;
    margin: 20px 0 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 25px;
}

.home-development__steps {
    min-width: 0;
}

.home-development-step {
    padding: 0 0 10px;
    margin: 0 0 28px;
    border-bottom: 1px solid #dde3ea;
}

.home-development-step:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.home-development-step__title {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.home-development-step__title span {
    color: var(--home-blue);
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
}

.home-development-step h3 {
    margin: 0;
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.home-development-step p {
    margin: 9px 0 0;
    color: #59616d;
    font-size: 14px;
    line-height: 22px;
}

.home-georobot {
    background: #ffffff;
}

.home-georobot__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 72px;
    padding: 110px;
}

.home-georobot__visual {
    min-width: 0;
    padding: 16px;
}

.home-georobot__visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.home-georobot__content > p:not(.home-section-eyebrow) {
    margin: 22px 0 0;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 26px;
}

.home-georobot__button {
    margin-top: 28px;
}

.home-georobot-features {
    padding: 60px 0;
    background: var(--home-soft);
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-feature-grid article {
    min-width: 0;
    padding: 0 28px;
    border-left: 1px solid #dde3ea;
}

.home-feature-grid article:first-child {
    padding-left: 0;
    border-left: 0;
}

.home-feature-grid article:last-child {
    padding-right: 0;
}

.home-feature-grid span {
    color: var(--home-blue);
    font-size: 14px;
    font-weight: 700;
}

.home-feature-grid h3 {
    margin: 13px 0 9px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -.015em;
}

.home-feature-grid p {
    margin: 0;
    color: #59616d;
    font-size: 14px;
    line-height: 22px;
}

@media (max-width: 1100px) {
    .home-container {
        width: min(100% - 40px, 1320px);
    }

    .home-hero__grid {
        min-height: auto;
        gap: 40px;
        padding: 72px 0;
    }

    .home-hero h1 {
        font-size: clamp(44px, 5.2vw, 58px);
    }

    .home-direction-card {
        padding: 18px;
    }

    .home-direction-card > img {
        height: 260px;
    }

    .home-development__panel {
        width: min(100% - 40px, 1320px);
        grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
        gap: 34px;
        padding: 68px 0 78px;
    }

    .home-georobot__grid {
        gap: 48px;
        padding: 82px 48px;
    }

    .home-feature-grid article {
        padding: 0 20px;
    }
}

@media (max-width: 820px) {
    .home-section-eyebrow {
        letter-spacing: .45em;
    }

    .home-hero__grid,
    .home-georobot__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__grid {
        gap: 34px;
        padding: 58px 0 68px;
    }

    .home-hero__visual {
        order: -1;
    }

    .home-hero__visual img {
        max-height: 430px;
    }

    .home-directions-heading {
        padding-top: 64px;
    }

    .home-direction-grid {
        grid-template-columns: 1fr;
    }

    .home-direction-card {
        display: grid;
        grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
        gap: 24px;
        align-items: stretch;
    }

    .home-direction-card > img {
        height: 100%;
        min-height: 260px;
    }

    .home-direction-card h3 {
        margin-top: 4px;
    }

    .home-development__panel {
        grid-template-columns: 1fr;
        gap: 52px;
        padding: 64px 0 70px;
    }

    .home-development__intro > p:last-child {
        max-width: 620px;
    }

    .home-georobot__grid {
        gap: 34px;
        padding: 72px 20px;
    }

    .home-georobot__visual {
        padding: 0;
    }

    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 0;
    }

    .home-feature-grid article:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .home-container {
        width: calc(100% - 32px);
    }

    .home-eyebrow,
    .home-section-eyebrow {
        font-size: 10px;
        line-height: 16px;
        letter-spacing: .22em;
    }

    .home-section-eyebrow {
        letter-spacing: .32em;
    }

    .home-hero__grid {
        padding: 34px 0 52px;
    }

    .home-hero h1 {
        margin: 14px 0 16px;
        font-size: 42px;
        line-height: 44px;
    }

    .home-hero__lead {
        font-size: 15px;
        line-height: 24px;
    }

    .home-actions {
        gap: 10px;
        margin-top: 24px;
    }

    .home-button {
        min-width: 0;
        gap: 16px;
    }

    .home-directions-heading {
        padding: 52px 0 26px;
    }

    .home-directions-heading h2,
    .home-development h2,
    .home-georobot h2 {
        margin-top: 11px;
        font-size: 34px;
        line-height: 38px;
    }

    .home-directions {
        padding-bottom: 64px;
    }

    .home-direction-card {
        display: flex;
        gap: 0;
        padding: 16px;
    }

    .home-direction-card > img {
        height: 250px;
        min-height: 0;
    }

    .home-direction-card h3 {
        margin: 20px 0 10px;
        font-size: 24px;
        line-height: 30px;
    }

    .home-direction-card p + .home-card-link {
        margin-top: 22px;
    }

    .home-development {
        padding: 0;
    }

    .home-development__panel {
        width: calc(100% - 32px);
        gap: 42px;
        padding: 50px 0 56px;
    }

    .home-development__intro > p:last-child {
        margin-top: 18px;
        font-size: 15px;
        line-height: 24px;
    }

    .home-development-step__title span {
        font-size: 22px;
        line-height: 28px;
    }

    .home-development-step h3 {
        font-size: 22px;
        line-height: 28px;
    }

    .home-development-step p {
        margin-left: 0;
    }

    .home-georobot__grid {
        width: 100%;
        padding: 56px 24px;
    }

    .home-georobot__content > p:not(.home-section-eyebrow) {
        margin-top: 18px;
        font-size: 15px;
        line-height: 24px;
    }

    .home-georobot-features {
        padding: 48px 0;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .home-feature-grid article,
    .home-feature-grid article:first-child,
    .home-feature-grid article:nth-child(3),
    .home-feature-grid article:last-child {
        padding: 24px 0;
        border-left: 0;
        border-bottom: 1px solid #dde3ea;
    }

    .home-feature-grid article:first-child {
        padding-top: 0;
    }

    .home-feature-grid article:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
}
