.home-page {
    --home-ink: #17201c;
    --home-muted: #65716b;
    --home-line: #dce4df;
    --home-green: #08a957;
    --home-deep: #0d4a38;
    --home-pale: #eff5f1;
    color: var(--home-ink);
    background: #fff;
}

.home-page .site-header {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: rgba(214, 224, 218, .9);
    backdrop-filter: blur(18px);
}

.home-page .nav-links .nav-download { background: var(--home-deep); }
.home-page .home-hero {
    min-height: min(790px, 89svh);
    padding-top: 72px;
    overflow: hidden;
    background: #edf3ef;
    border-bottom: 0;
}
.home-page .home-hero::after { display: none; }
.hero-content {
    position: relative;
    z-index: 3;
    min-height: calc(min(790px, 89svh) - 72px);
    display: flex;
    align-items: center;
}
.home-page .hero-copy { width: min(510px, 47%); padding: 46px 0 70px; }
.hero-kicker {
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #147448;
    font-size: 14px;
    font-weight: 750;
}
.hero-kicker span { width: 28px; height: 2px; background: var(--home-green); }
.home-page .hero h1 { margin: 0; font-size: clamp(60px, 7vw, 96px); line-height: 1; font-weight: 860; }
.home-page .hero-lead { margin: 24px 0 0; font-size: clamp(27px, 3vw, 39px); line-height: 1.3; font-weight: 760; }
.home-page .hero-description { max-width: 490px; margin-top: 22px; color: #4f5c56; font-size: 17px; line-height: 1.8; }
.home-page .hero-actions {
    max-width: 490px;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-page .hero-actions .button { width: 100%; min-width: 0; white-space: nowrap; }
.home-page .button-primary { background: var(--home-green); box-shadow: 0 14px 30px rgba(8, 169, 87, .2); }
.home-page .button-primary:hover { background: #078c49; }
.home-page .button-secondary { border-color: #c9d5ce; background: rgba(255, 255, 255, .88); }
.hero-trust { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #5b6861; font-size: 12px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 5px; }
.hero-trust svg { width: 15px; color: var(--home-green); }

.hero-product-stage { position: absolute; z-index: 1; inset: 72px 0 0; pointer-events: none; }
.hero-tablet-shell, .hero-phone-shell, .operations-screen, .operations-phone, .device-tablet, .device-phone {
    overflow: hidden;
    border: 1px solid #c8d2cc;
    background: #fff;
    box-shadow: 0 30px 80px rgba(25, 48, 37, .17);
}
.hero-tablet-shell {
    position: absolute;
    width: min(880px, 64vw);
    right: -4.5vw;
    top: 54px;
    padding: 9px;
    border-color: #2b3330;
    border-radius: 25px;
    background: #171b19;
    transform: rotate(-1.7deg);
}
.hero-tablet-shell img, .operations-screen img, .device-tablet img { width: 100%; border-radius: 15px; }
.hero-phone-shell {
    position: absolute;
    z-index: 2;
    width: 222px;
    right: 5.5vw;
    bottom: -190px;
    padding: 7px;
    border-color: #252c29;
    border-radius: 34px;
    background: #141816;
    transform: rotate(2.5deg);
}
.hero-phone-shell img, .operations-phone img, .device-phone img { width: 100%; border-radius: 27px; }

.home-signal { position: relative; z-index: 5; color: #fff; background: #17201c; }
.home-signal .signal-grid { min-height: 112px; }
.home-signal .signal-grid div { padding-inline: 30px; border-color: #34413b; }
.home-signal .signal-grid strong { font-size: 20px; }
.home-signal .signal-grid span { color: #aab7b0; }
.home-section { padding: 112px 0; }
.home-heading { max-width: 760px; margin: 0 0 54px; }
.home-heading .section-kicker, .device-copy .section-kicker, .shop-types-head .section-kicker { margin-bottom: 16px; color: #138149; }
.home-heading h2, .device-copy h2, .shop-types-head h2, .final-copy h2 { margin: 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.16; font-weight: 820; }
.home-heading > p:last-child, .device-copy > p, .shop-types-head > p, .final-copy > p { margin: 20px 0 0; color: var(--home-muted); font-size: 17px; line-height: 1.8; }

.feature-workbench { background: #fff; }
.feature-console { min-height: 730px; display: grid; grid-template-columns: minmax(430px, .95fr) minmax(460px, 1.05fr); border: 1px solid var(--home-line); background: #fff; }
.home-page .feature-tabs { padding: 44px 38px; justify-content: center; border-right: 1px solid var(--home-line); }
.home-page .feature-tab { min-height: 112px; padding: 22px 18px; grid-template-columns: 46px 1fr 24px; gap: 16px; border-color: var(--home-line); }
.home-page .feature-tab::before { top: 22px; bottom: 22px; width: 4px; }
.home-page .feature-tab.is-active { background: var(--home-pale); }
.home-page .feature-number { color: #8b9891; font-size: 14px; font-weight: 760; }
.home-page .feature-tab.is-active .feature-number, .home-page .feature-tab.is-active > svg { color: var(--home-green); }
.home-page .feature-tab strong { font-size: 19px; }
.home-page .feature-tab small { margin-top: 2px; color: #6c7771; font-size: 13px; }
.home-page .showcase-stage { position: relative; min-width: 0; overflow: hidden; background: #edf3ef; }
.showcase-caption { position: absolute; top: 28px; right: 32px; display: flex; align-items: baseline; gap: 9px; color: #7b8781; font-size: 12px; }
.showcase-caption strong { color: var(--home-ink); font-size: 15px; }
.home-page .showcase-phone { width: 310px; transform: translateY(88px); }

.operations { overflow: hidden; padding-bottom: 0; color: #fff; background: #12231c; }
.operations-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(470px, .9fr); align-items: end; gap: 80px; }
.home-heading.light { margin-bottom: 72px; }
.home-heading.light .section-kicker { color: #67d895; }
.home-heading.light h2 { color: #fff; }
.home-heading.light > p:last-child { color: #a9b9b0; }
.operations-facts { margin-bottom: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #355046; border-left: 1px solid #355046; }
.operations-facts div { min-height: 132px; padding: 24px; display: grid; grid-template-columns: 30px 1fr; align-content: center; gap: 7px 12px; border-right: 1px solid #355046; border-bottom: 1px solid #355046; }
.operations-facts svg { grid-row: 1 / 3; width: 24px; color: #6fe19c; }
.operations-facts strong { font-size: 16px; }
.operations-facts span { color: #9db0a7; font-size: 12px; line-height: 1.55; }
.operations-canvas { position: relative; width: min(1420px, calc(100% - 48px)); min-height: 680px; margin: 0 auto; }
.operations-screen { position: absolute; width: min(1120px, 82vw); left: 50%; bottom: -80px; padding: 10px; border-color: #2f3a35; border-radius: 24px; background: #1c2420; transform: translateX(-55%); }
.operations-phone { position: absolute; z-index: 2; width: 250px; right: 1.5%; bottom: -72px; padding: 7px; border-color: #303a35; border-radius: 36px; background: #171c19; }

.daily-flow { background: #f5f7f6; }
.flow-line { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #ccd7d1; border-bottom: 1px solid #ccd7d1; }
.flow-line article { min-height: 280px; padding: 34px 26px; border-left: 1px solid #ccd7d1; }
.flow-line article:first-child { border-left: 0; }
.flow-line article > span { width: 50px; height: 50px; display: grid; place-items: center; color: #0d7843; background: #dff2e7; border-radius: 8px; }
.flow-line article > span svg { width: 25px; }
.flow-line small { display: block; margin-top: 40px; color: #98a39d; font-weight: 750; }
.flow-line h3 { margin: 8px 0 0; font-size: 21px; }
.flow-line p { margin: 12px 0 0; color: #69756e; font-size: 13px; line-height: 1.7; }

.device-experience { overflow: hidden; background: #fff; }
.device-layout { min-height: 680px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 70px; }
.device-copy > p { max-width: 470px; }
.device-switch { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.device-switch span { min-height: 42px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--home-line); font-size: 13px; font-weight: 680; }
.device-switch svg { width: 17px; color: var(--home-green); }
.text-link { margin-top: 30px; display: inline-flex; align-items: center; gap: 8px; color: #087a42; font-size: 14px; font-weight: 750; }
.text-link svg { width: 18px; }
.device-visual { position: relative; min-height: 650px; }
.device-tablet { position: absolute; width: 820px; left: 0; top: 48px; padding: 8px; border-color: #303734; border-radius: 22px; background: #171a19; transform: rotate(1.4deg); }
.device-phone { position: absolute; z-index: 2; width: 220px; left: 18px; bottom: -85px; padding: 7px; border-color: #303734; border-radius: 34px; background: #171a19; transform: rotate(-2.4deg); }

.shop-types { background: #edf3ef; }
.shop-types-head { display: grid; grid-template-columns: .8fr 1.2fr; align-items: end; gap: 100px; }
.shop-types-head > p { max-width: 620px; margin-bottom: 4px; }
.shop-type-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cbd7d0; border-left: 1px solid #cbd7d0; }
.shop-type-grid span { min-height: 122px; display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid #cbd7d0; border-bottom: 1px solid #cbd7d0; font-size: 15px; font-weight: 720; }
.shop-type-grid svg { width: 23px; color: #0a8f4b; }

.final-download { color: #fff; background: #18201c; }
.final-download-inner { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 58px; }
.final-brand { display: flex; align-items: center; gap: 16px; }
.final-brand img { border-radius: 20px; }
.final-brand div { display: flex; flex-direction: column; gap: 6px; }
.final-brand span { font-size: 21px; font-weight: 780; }
.final-brand small, .final-copy > p { color: #a9b4ae; }
.final-copy h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); }
.final-copy > p { margin-top: 14px; font-size: 14px; }
.final-actions { min-width: 205px; display: grid; gap: 10px; }
.final-actions .button { width: 100%; }
.final-actions .button-secondary { color: #fff; border-color: #4e5b54; background: transparent; }

@media (max-width: 1040px) {
    .home-page .home-hero { min-height: 820px; }
    .hero-content { min-height: 748px; }
    .hero-tablet-shell { width: 750px; right: -250px; top: 130px; }
    .hero-phone-shell { right: 6vw; }
    .home-page .hero-copy { width: 56%; }
    .feature-console, .operations-intro, .device-layout, .shop-types-head, .final-download-inner { grid-template-columns: 1fr; }
    .operations-intro { gap: 0; }
    .device-layout { gap: 40px; }
    .device-visual { min-height: 610px; }
    .device-tablet { width: min(850px, 100%); }
    .shop-types-head { gap: 20px; }
    .final-download-inner { gap: 34px; }
    .final-actions { grid-template-columns: repeat(2, minmax(0, 220px)); }
}

@media (max-width: 700px) {
    .home-page .site-header { height: 64px; }
    .home-page .home-hero { min-height: 900px; padding-top: 64px; }
    .hero-content { min-height: 836px; align-items: flex-start; }
    .home-page .hero-copy { width: 100%; padding: 50px 0 0; }
    .home-page .hero h1 { font-size: 58px; }
    .home-page .hero-lead { font-size: 28px; }
    .home-page .hero-description { max-width: 100%; font-size: 15px; }
    .home-page .hero-actions { width: 100%; grid-template-columns: 1fr; }
    .home-page .hero-actions .button { width: 100%; min-width: 0; flex: none; }
    .hero-trust { display: none; }
    .hero-product-stage { inset: 64px 0 0; }
    .hero-tablet-shell { display: none; }
    .hero-phone-shell { width: 236px; right: 50%; bottom: -148px; transform: translateX(50%) rotate(1.3deg); }
    .home-signal .signal-grid { grid-template-columns: repeat(2, 1fr); }
    .home-signal .signal-grid div { min-height: 82px; padding: 14px; }
    .home-signal .signal-grid div:nth-child(3) { border-left: 0; }
    .home-signal .signal-grid div:nth-child(n + 3) { border-top: 1px solid #34413b; }
    .home-signal .signal-grid strong { font-size: 15px; }
    .home-section { padding: 76px 0; }
    .home-heading { margin-bottom: 36px; }
    .home-heading h2, .device-copy h2, .shop-types-head h2, .final-copy h2 { font-size: 34px; }
    .home-heading > p:last-child, .device-copy > p, .shop-types-head > p { font-size: 15px; }
    .feature-console { min-height: auto; grid-template-columns: 1fr; border-inline: 0; }
    .home-page .feature-tabs { padding: 0; overflow-x: auto; flex-direction: row; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--home-line); scroll-snap-type: x mandatory; }
    .home-page .feature-tab { min-width: 156px; min-height: 82px; padding: 14px; grid-template-columns: 24px 1fr; border-top: 0; border-left: 1px solid var(--home-line); scroll-snap-align: start; }
    .home-page .feature-tab:first-child { border-left: 0; }
    .home-page .feature-tab::before { inset: auto 12px 0; width: auto; height: 3px; }
    .home-page .feature-tab small, .home-page .feature-tab > svg { display: none; }
    .home-page .feature-tab strong { font-size: 14px; }
    .home-page .showcase-stage { min-height: 570px; }
    .home-page .showcase-phone { width: 248px; transform: translateY(78px); }
    .showcase-caption { top: 18px; right: 18px; }
    .operations { padding-bottom: 0; }
    .home-heading.light { margin-bottom: 38px; }
    .operations-facts { grid-template-columns: 1fr; margin-bottom: 48px; }
    .operations-facts div { min-height: 94px; padding: 18px; }
    .operations-canvas { width: calc(100% - 24px); min-height: 390px; }
    .operations-screen { width: 620px; left: 50%; bottom: -8px; transform: translateX(-63%); }
    .operations-phone { width: 158px; right: 0; bottom: -16px; border-radius: 25px; }
    .operations-phone img, .device-phone img { border-radius: 19px; }
    .flow-line { grid-template-columns: repeat(2, 1fr); }
    .flow-line article { min-height: 240px; padding: 24px 18px; }
    .flow-line article:nth-child(3) { border-left: 0; }
    .flow-line article:nth-child(n + 3) { border-top: 1px solid #ccd7d1; }
    .flow-line small { margin-top: 26px; }
    .device-layout { min-height: auto; }
    .device-visual { min-height: 390px; }
    .device-tablet { width: 610px; left: 4%; top: 36px; }
    .device-phone { width: 156px; left: 0; bottom: -12px; border-radius: 25px; }
    .shop-type-grid { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
    .shop-type-grid span { min-height: 88px; font-size: 13px; }
    .final-brand img { width: 68px; height: 68px; border-radius: 16px; }
    .final-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
