:root {
    --bg: #f3f6f4;
    --panel: #ffffff;
    --ink: #111c18;
    --muted: #53625c;
    --line: #d8e1dc;
    --brand: #0f7664;
    --brand-dark: #0b4f44;
    --accent: #d9a441;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 34px;
    width: min(1100px, calc(100% - 36px));
    margin: 0 auto;
    padding: 46px 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 42px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: 0;
}

.lead {
    max-width: 560px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.hero-device {
    border: 1px solid #b7c7c0;
    border-radius: 8px;
    background: #101916;
    box-shadow: 0 24px 60px rgba(18, 33, 27, 0.18);
    overflow: hidden;
}

.device-top {
    display: flex;
    gap: 7px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.device-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5ddd9;
}

.device-screen {
    min-height: 270px;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 26px;
    background-image: url("hero-pattern.svg");
    background-size: cover;
}

.metric-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.9);
}

.metric-line span {
    color: var(--brand);
    font-weight: 800;
}

.metric-line strong {
    font-size: 14px;
}

.route-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 18px 6px;
}

.route-preview i {
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

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

.app-card {
    min-height: 230px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: var(--panel);
}

.app-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
}

.app-mark.crm {
    background: #27313f;
}

.app-mark.plus {
    background: #ede7d8;
    color: #3a3429;
    font-size: 28px;
}

.status {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.app-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
}

.app-card p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.app-card a,
.app-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 86px;
    min-height: 40px;
    border-radius: 999px;
    padding: 0 18px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.app-card a.disabled,
.app-card > span {
    border: 1px solid var(--line);
    background: #f8faf9;
    color: var(--muted);
}

.app-card.is-live {
    border-color: rgba(15, 118, 100, 0.45);
}

@media (max-width: 820px) {
    .page-shell {
        align-content: start;
        padding-top: 28px;
    }

    .hero,
    .apps {
        grid-template-columns: 1fr;
    }

    .hero-device {
        width: min(100%, 420px);
    }
}
