:root {
    --ink: #13201c;
    --muted: #5f6f69;
    --surface: #ffffff;
    --line: #dce6e1;
    --green: #247a53;
    --teal: #0f7a87;
    --gold: #c89128;
    --bg: #f4f8f6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    background:
        linear-gradient(135deg, rgba(36, 122, 83, 0.08), transparent 34%),
        linear-gradient(315deg, rgba(15, 122, 135, 0.1), transparent 30%),
        var(--bg);
}

a {
    color: inherit;
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

.apps-section {
    padding: 0 0 8px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: 0;
}

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

.app-card {
    display: flex;
    min-height: 370px;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 48px rgba(19, 32, 28, 0.08);
}

.app-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border-radius: 8px;
}

.task-card .app-icon {
    color: var(--teal);
    background: rgba(15, 122, 135, 0.1);
}

.farmer-card .app-icon {
    color: var(--green);
    background: rgba(36, 122, 83, 0.11);
}

.placeholder-card .app-icon {
    color: var(--gold);
    background: rgba(200, 145, 40, 0.13);
}

.app-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.app-type {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.app-card h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    line-height: 1.2;
}

.app-card p:not(.app-type) {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.app-link,
.coming-soon {
    display: inline-flex;
    width: fit-content;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
}

.app-link {
    padding: 0 18px;
    color: #ffffff;
    background: var(--ink);
    transition: transform 180ms ease, background 180ms ease;
}

.app-link:hover,
.app-link:focus-visible {
    background: var(--green);
    transform: translateY(-2px);
}

.coming-soon {
    padding: 0 16px;
    color: var(--muted);
    background: #eef4f1;
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 24px, 1120px);
        padding: 24px 0;
    }

    .section-heading {
        display: block;
    }

    .app-card {
        padding: 22px;
    }

    .app-link,
    .coming-soon {
        width: 100%;
    }
}
