* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    background: #000;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
    padding: 4rem 2rem;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.intro {
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: normal;
    margin-bottom: 2rem;
    color: #d9d9d9;
}

p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
}

strong {
    color: #fff;
}

.pipeline-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid #444;
}

.pipeline-section h2 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
}

.pipeline-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #cfcfcf;
    font-size: 1.05rem;
}

.table-wrapper {
    width: 100%;
    border: 1px solid #555;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #0c0c0c;
    text-align: left;
}

th,
td {
    padding: 1rem;
    border: 1px solid #444;
    vertical-align: top;
}

th {
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

td {
    color: #f1f1f1;
    font-size: 1rem;
}

.step-number {
    width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.green-row {
    background: rgba(25, 110, 55, 0.25);
    border-left: 6px solid #38b968;
}

.green-row .step-number {
    color: #74e69d;
}

.yellow-row {
    background: rgba(180, 140, 20, 0.25);
    border-left: 6px solid #f4c542;
}

.yellow-row .step-number {
    color: #ffd966;
}

.red-row {
    background: rgba(145, 25, 25, 0.28);
    border-left: 6px solid #e54b4b;
}

.red-row .step-number {
    color: #ff7777;
}

.notes-section {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #555;
    background: #111;
    text-align: left;
}

.notes-section h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: #fff;
}

.notes-section p {
    margin: 0;
    font-size: 1rem;
    color: #d2d2d2;
}

.notes-section p + p {
    margin-top: 1.25rem;
}

.management-section {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid #555;
    background: #111;
    text-align: left;
}

.management-section h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    text-align: center;
}

.management-section p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: #d9d9d9;
}

.management-section p:last-child {
    margin-bottom: 0;
}

.contact-section {
    margin-top: 3rem;
    padding: 2.5rem;
    border: 2px solid #38b968;
    background: rgba(25, 110, 55, 0.1);
    text-align: center;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}

.contact-section p {
    color: #ddd;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    font-weight: bold;
    color: #74e69d;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-email:hover,
.contact-email:focus {
    text-decoration: underline;
}

@media (max-width: 700px) {
    body {
        padding: 2rem 1rem;
    }

    .container {
        max-width: 100%;
    }

    .intro {
        min-height: auto;
        padding: 3rem 0;
    }

    p {
        font-size: 1.05rem;
    }

    .pipeline-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .table-wrapper {
        border: 0;
    }

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%;
    }

    table {
        background: transparent;
    }

    thead {
        display: none;
    }

    tbody {
        display: grid;
        gap: 1.25rem;
    }

    tr {
        overflow: hidden;
        border-top: 1px solid #555;
        border-right: 1px solid #555;
        border-bottom: 1px solid #555;
    }

    td {
        position: relative;
        padding: 0.9rem 1rem;
        border: 0;
        border-bottom: 1px solid #3b3b3b;
        text-align: left;
    }

    td:last-child {
        border-bottom: 0;
    }

    td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.35rem;
        color: #aaa;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .step-number {
        width: 100%;
        text-align: left;
        font-size: 1.35rem;
    }

    .step-number::before {
        display: inline;
        margin-right: 0.5rem;
    }

    .management-section,
    .notes-section,
    .contact-section {
        padding: 1.35rem;
    }
}

@media (max-width: 400px) {
    body {
        padding: 1.5rem 0.75rem;
    }

    td {
        padding: 0.85rem;
    }

    .management-section,
    .notes-section,
    .contact-section {
        padding: 1.1rem;
    }
}
