@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
    --ink: #101311;
    --ink-soft: #1b201d;
    --paper: #f3f4ef;
    --paper-strong: #ffffff;
    --line: #c8cdc7;
    --muted: #59615c;
    --signal: #147a58;
    --signal-dark: #0b4935;
    --warning: #a84b32;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(16, 19, 17, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 19, 17, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--warning);
    outline-offset: 4px;
}

.shell {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--paper-strong);
    background: var(--ink);
}

.site-header .shell {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.wordmark {
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
}

.site-nav a {
    color: #cfd5d1;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--paper-strong);
}

.hero {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--paper-strong);
    background-color: var(--ink);
    background-image:
        linear-gradient(90deg, rgba(16, 19, 17, 1) 0%, rgba(16, 19, 17, 0.96) 53%, rgba(16, 19, 17, 0.45) 100%),
        url("https://raw.githubusercontent.com/VolodymyrStetsenko/SECURITY-REVIEW/main/.github/media/logo.png");
    background-repeat: no-repeat;
    background-position: center, calc(50% + 390px) center;
    background-size: cover, 430px 430px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 100% 72px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 20px 0 24px;
}

.eyebrow,
.section-label,
.proof-type,
.step-number {
    margin: 0 0 16px;
    color: #65c9a4;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 28px;
    font-size: 64px;
    line-height: 1.03;
    font-weight: 600;
    letter-spacing: 0;
}

.hero-summary {
    max-width: 680px;
    margin-bottom: 36px;
    color: #cfd5d1;
    font-size: 20px;
    line-height: 1.55;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid var(--paper-strong);
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.button-primary {
    color: var(--ink);
    background: var(--paper-strong);
}

.button-primary:hover {
    background: #dbe0dc;
}

.button-secondary {
    color: var(--paper-strong);
    background: transparent;
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.scope-strip {
    color: var(--paper-strong);
    background: var(--signal-dark);
}

.scope-strip .shell {
    min-height: 76px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.scope-strip span {
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
}

.scope-strip span:first-child {
    padding-left: 0;
}

.scope-strip span:last-child {
    padding-right: 0;
    border-right: 0;
}

.section {
    padding: 104px 0;
    border-bottom: 1px solid var(--line);
}

.section-intro {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-label {
    color: var(--signal);
}

h2 {
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0;
}

.section-intro p,
.contact-copy {
    color: var(--muted);
    font-size: 19px;
}

.service-list,
.proof-list,
.process-list {
    border-top: 1px solid var(--ink);
}

.service,
.proof,
.process-step {
    display: grid;
    border-bottom: 1px solid var(--line);
}

.service {
    grid-template-columns: 1fr 1.45fr;
    gap: 72px;
    padding: 40px 0;
}

.service h3,
.proof h3,
.process-step h3 {
    margin-bottom: 10px;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
}

.service p,
.proof p,
.process-step p {
    margin-bottom: 0;
    color: var(--muted);
}

.service ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service li {
    padding: 9px 0 9px 22px;
    position: relative;
    border-bottom: 1px solid #dfe2dd;
}

.service li::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    top: 18px;
    left: 0;
    background: var(--signal);
}

.service li:last-child {
    border-bottom: 0;
}

.proof {
    grid-template-columns: 180px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 30px 0;
}

.proof-type {
    margin: 0;
    color: var(--signal);
}

.proof a {
    color: var(--signal-dark);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.proof a:hover {
    text-decoration: underline;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-step {
    min-height: 260px;
    display: block;
    padding: 32px 28px;
    border-right: 1px solid var(--line);
}

.process-step:last-child {
    border-right: 0;
}

.step-number {
    color: var(--warning);
}

.contact-section {
    color: var(--paper-strong);
    background: var(--ink-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 96px;
    align-items: end;
}

.contact-copy {
    margin-bottom: 0;
    color: #cfd5d1;
}

.contact-details {
    padding-top: 24px;
    border-top: 1px solid #6b746e;
}

.contact-details p {
    color: #cfd5d1;
}

.contact-details a {
    color: var(--paper-strong);
    font-weight: 600;
}

.site-footer {
    padding: 30px 0;
    color: #aeb5b0;
    background: var(--ink);
    font-size: 13px;
}

.site-footer .shell {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .hero {
        min-height: 500px;
        background-position: center, calc(100% + 90px) center;
        background-size: cover, 360px 360px;
    }

    h1 {
        font-size: 50px;
    }

    .service,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .proof {
        grid-template-columns: 140px 1fr;
    }

    .proof a {
        grid-column: 2;
        justify-self: start;
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .site-header .shell {
        min-height: 64px;
    }

    .site-nav a:not(:last-child) {
        display: none;
    }

    .hero {
        min-height: calc(100svh - 88px);
        align-items: flex-end;
        background-image:
            linear-gradient(180deg, rgba(16, 19, 17, 0.25) 0%, rgba(16, 19, 17, 0.94) 56%, rgba(16, 19, 17, 1) 100%),
            url("https://raw.githubusercontent.com/VolodymyrStetsenko/SECURITY-REVIEW/main/.github/media/logo.png");
        background-position: center, center 18px;
        background-size: cover, 180px 180px;
    }

    .hero-content {
        padding: 200px 0 24px;
    }

    h1 {
        margin-bottom: 20px;
        font-size: 36px;
        line-height: 1.08;
    }

    .hero-summary {
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.45;
    }

    .button {
        width: 100%;
    }

    .scope-strip .shell {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .scope-strip span,
    .scope-strip span:first-child,
    .scope-strip span:last-child {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .scope-strip span:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 72px 0;
    }

    h2 {
        font-size: 34px;
    }

    .section-intro p,
    .contact-copy {
        font-size: 17px;
    }

    .service,
    .proof {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .proof a {
        grid-column: 1;
    }

    .process-list {
        grid-template-columns: 1fr;
    }

    .process-step,
    .process-step:nth-child(2) {
        min-height: auto;
        border-right: 0;
    }

    .site-footer .shell {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 680px) and (max-height: 700px) {
    .hero {
        background-position: center, center 12px;
        background-size: cover, 145px 145px;
    }

    .hero-content {
        padding: 160px 0 20px;
    }

    .eyebrow {
        margin-bottom: 8px;
        font-size: 11px;
    }

    h1 {
        margin-bottom: 18px;
        font-size: 32px;
    }

    .hero-summary {
        display: none;
    }

    .actions {
        gap: 8px;
    }

    .button {
        min-height: 40px;
        padding: 8px 14px;
    }
}

@media (min-width: 481px) and (max-width: 680px) and (max-height: 700px) {
    .hero {
        align-items: center;
        background-image:
            linear-gradient(90deg, rgba(16, 19, 17, 1) 0%, rgba(16, 19, 17, 0.94) 64%, rgba(16, 19, 17, 0.5) 100%),
            url("https://raw.githubusercontent.com/VolodymyrStetsenko/SECURITY-REVIEW/main/.github/media/logo.png");
        background-position: center, calc(100% + 18px) center;
        background-size: cover, 150px 150px;
    }

    .hero-content {
        max-width: 470px;
        padding: 20px 0;
    }

    .button {
        width: auto;
    }
}

@media (max-width: 360px) {
    .site-nav {
        display: none;
    }
}

@media (max-width: 360px) and (max-height: 700px) {
    .hero {
        background-position: center, center 8px;
        background-size: cover, 100px 100px;
    }

    .hero-content {
        padding-top: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}