* {
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

:root {
    --home-ink: #17324d;
    --home-muted: #5c7185;
    --home-blue: #0878c9;
    --home-blue-dark: #075b99;
    --home-line: #d9e5ed;
    --home-surface: #ffffff;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #eef5f8 0%, #dce8f1 100%);
}

.wrapper {
    width: min(100%, 1120px);
    min-height: calc(100vh - 40px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--home-surface);
    border-radius: 16px 16px 0 0;
    padding: 24px 32px;
    box-shadow: 0 4px 12px rgba(19, 53, 80, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: contain;
}

.header-text h1 {
    margin: 0;
    color: var(--home-ink);
    font-size: 28px;
}

.header-text .subtitle {
    margin: 4px 0 0;
    color: var(--home-muted);
    font-size: 14px;
}

.home-content {
    flex: 1;
    overflow: hidden;
    background: var(--home-surface);
    box-shadow: 0 4px 12px rgba(19, 53, 80, 0.08);
}

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 430px;
    padding: 72px 72px 64px;
    overflow: hidden;
    background: linear-gradient(112deg, #ffffff 0%, #f7fbfd 58%, #e5f1f6 100%);
}

.hero-section::after {
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(8, 120, 201, 0.15);
    border-radius: 50%;
    content: "";
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-copy {
    align-self: center;
    max-width: 570px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 560px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1px;
}

.hero-text {
    max-width: 480px;
    margin: 24px 0 32px;
    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.7;
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--home-blue), var(--home-blue-dark));
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(8, 120, 201, 0.24);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-button span {
    font-size: 22px;
    line-height: 12px;
}

.home-button:hover,
.home-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(8, 120, 201, 0.3);
}

.home-button:focus-visible {
    outline: 3px solid rgba(8, 120, 201, 0.28);
    outline-offset: 3px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
}

.visual-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(104, 190, 219, 0.2);
    filter: blur(2px);
}

.machine-illustration {
    position: relative;
    width: 190px;
    height: 255px;
    padding: 18px 16px 0;
    border: 5px solid #194968;
    border-radius: 18px 18px 12px 12px;
    background: #52b5d3;
    box-shadow: 12px 16px 0 rgba(23, 50, 77, 0.12);
    transform: rotate(3deg);
}

.machine-top {
    position: absolute;
    top: -17px;
    left: 25px;
    width: 130px;
    height: 18px;
    border: 5px solid #194968;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    background: #f2b54b;
}

.machine-window {
    display: flex;
    justify-content: center;
    gap: 10px;
    height: 138px;
    padding-top: 22px;
    border: 4px solid #194968;
    border-radius: 7px;
    background: #e8f6f7;
}

.machine-light {
    width: 22px;
    height: 50px;
    border-radius: 12px;
    background: #f2b54b;
    box-shadow: inset 0 -8px rgba(23, 50, 77, 0.12);
}

.machine-panel {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 13px auto 0;
}

.machine-panel span {
    display: block;
    width: 46px;
    height: 16px;
    border-radius: 4px;
    background: #194968;
}

.machine-panel span:last-child {
    width: 22px;
    background: #f2b54b;
}

.machine-base {
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 12px;
    border-radius: 5px 5px 0 0;
    background: #194968;
}

.visual-badge {
    position: absolute;
    right: 4px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--home-ink);
    box-shadow: 0 8px 20px rgba(19, 53, 80, 0.12);
    font-size: 12px;
    font-weight: 700;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #24a96b;
}

.steps-section {
    display: grid;
    grid-template-columns: 0.8fr 1.6fr;
    gap: 48px;
    padding: 44px 72px 52px;
    border-top: 1px solid var(--home-line);
}

.section-heading h2 {
    max-width: 240px;
    margin: 0;
    color: var(--home-ink);
    font-size: 28px;
    line-height: 1.2;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-item {
    padding-left: 18px;
    border-left: 2px solid #c9e3ec;
}

.step-number {
    color: var(--home-blue);
    font-size: 12px;
    font-weight: 700;
}

.step-item h3 {
    margin: 12px 0 8px;
    color: var(--home-ink);
    font-size: 16px;
}

.step-item p {
    margin: 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.6;
}

.footer {
    margin-top: auto;
    padding: 20px;
    border-radius: 0 0 16px 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(19, 53, 80, 0.08);
    text-align: center;
}

.footer p {
    margin: 0;
    color: #8b9bab;
    font-size: 13px;
}

@media (max-width: 760px) {
    body {
        padding: 12px;
    }

    .wrapper {
        min-height: calc(100vh - 24px);
    }

    .header {
        padding: 20px;
    }

    .hero-section,
    .steps-section {
        display: block;
        padding: 44px 24px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-visual {
        min-height: 270px;
        margin-top: 24px;
    }

    .steps-section {
        padding-top: 36px;
    }

    .section-heading h2 {
        max-width: none;
        margin-bottom: 28px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 420px) {
    .header-content {
        align-items: flex-start;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .visual-badge {
        right: 0;
    }
}
