:root {
    color-scheme: light;
    --ink: #17191c;
    --muted: #5d646f;
    --line: #d9dee7;
    --panel: #ffffff;
    --paper: #f3f0e8;
    --accent: #176b4d;
    --accent-soft: #e4f3eb;
    --warn: #9a5b00;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.45)),
        repeating-linear-gradient(0deg, rgba(23, 25, 28, 0.035) 0, rgba(23, 25, 28, 0.035) 1px, transparent 1px, transparent 34px),
        var(--paper);
    color: var(--ink);
}

a {
    color: inherit;
}

.page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 34px;
}

.profile {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 22px;
    align-items: center;
}

.profile-mark {
    display: grid;
    place-items: center;
    width: 88px;
    aspect-ratio: 1;
    border: 1px solid #121416;
    border-radius: 22px;
    background: #fdfbf6;
    box-shadow: 6px 6px 0 #121416;
    font-weight: 900;
    font-size: 28px;
}

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

h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(40px, 8vw, 76px);
    line-height: 0.92;
    letter-spacing: 0;
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 32px 0 14px;
}

.stats div,
.actions a,
.project,
.footer {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(8px);
}

.stats div {
    padding: 14px;
    border-radius: 14px;
}

.stats strong {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.stats span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.actions a {
    min-height: 42px;
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.project {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    min-height: 106px;
    padding: 18px;
    border-radius: 18px;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.project:hover,
.actions a:hover {
    border-color: #111417;
    box-shadow: 4px 4px 0 #111417;
    transform: translate(-2px, -2px);
}

.project.featured {
    background: var(--accent-soft);
    border-color: rgba(23, 107, 77, 0.28);
}

.project.paused {
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.72);
}

.project-title,
.project-copy,
.project-meta span {
    display: block;
}

.project-title {
    font-size: 20px;
    font-weight: 900;
}

.project-copy {
    margin-top: 6px;
    max-width: 540px;
    color: var(--muted);
    line-height: 1.45;
}

.project-meta {
    display: grid;
    gap: 7px;
    min-width: 104px;
    text-align: right;
}

.project-meta span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.project-meta span:first-child {
    color: var(--accent);
}

.project.paused .project-meta span:first-child {
    color: var(--warn);
}

.focus-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    margin: 22px 0 18px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
}

.focus-label {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.focus-band h2,
.paused-head h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.02;
}

.focus-band p:last-child,
.paused-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.focus-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.paused-block {
    margin-top: 18px;
}

.pricing-band {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 18px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.pricing-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    padding: 18px;
}

.pricing-card.featured {
    background: var(--accent-soft);
    border-color: rgba(23, 107, 77, 0.28);
}

.pricing-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.pricing-head strong,
.pricing-head span {
    display: block;
}

.pricing-head span,
.pricing-interval,
.pricing-features {
    color: var(--muted);
    font-size: 13px;
}

.pricing-price {
    margin-top: 14px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.pricing-features {
    margin: 14px 0 0;
    padding-left: 18px;
    line-height: 1.5;
}

.pricing-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.paused-head {
    margin-bottom: 12px;
}

.paused-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 860px) {
    .project-list {
        grid-template-columns: 1fr;
    }

    .paused-grid,
    .focus-band,
    .pricing-band {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.footer a {
    color: var(--ink);
    font-weight: 800;
}

@media (max-width: 640px) {
    .page {
        width: min(100% - 22px, 1120px);
        padding-top: 28px;
    }

    .profile {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .project {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .project-meta {
        display: flex;
        min-width: 0;
        text-align: left;
    }
}
