* {
    box-sizing: border-box;
}

:root {
    --navy: #0f172a;
    --navy-soft: #1e293b;
    --blue: #2563eb;
    --blue-soft: #dbeafe;
    --green: #16a34a;
    --green-soft: #dcfce7;
    --amber: #d97706;
    --amber-soft: #fef3c7;
    --red: #dc2626;
    --red-soft: #fee2e2;
    --text: #172033;
    --muted: #64748b;
    --border: #e2e8f0;
    --bg: #f5f7fb;
    --card: #ffffff;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
}

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

.hero {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: white;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
}

.brand-row,
.hero-content,
.section-header,
.stage-top,
.meta,
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
}

.updated {
    color: #cbd5e1;
    font-size: 14px;
}

.hero-content {
    margin-top: 42px;
}

.eyebrow,
.section-label {
    margin: 0 0 8px;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 12px;
    font-weight: 800;
}

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

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

h1 {
    margin-bottom: 8px;
    font-size: clamp(32px, 6vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 18px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.subtitle {
    color: #cbd5e1;
    font-size: 18px;
    margin-bottom: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}

.status-badge.success {
    color: #bbf7d0;
    background: rgba(22, 163, 74, 0.16);
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.detail-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 5px;
}

.detail-grid strong {
    display: block;
    font-size: 17px;
}

.progress-card {
    background: radial-gradient(circle at top right, #eff6ff, white 55%);
}

.progress-visual {
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-ring {
    --size: 138px;
    width: var(--size);
    height: var(--size);
    flex: 0 0 var(--size);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(closest-side, white 72%, transparent 73%),
        conic-gradient(var(--blue) calc(var(--progress) * 1%), #e5e7eb 0);
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.progress-ring span {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.04em;
}

.progress-copy strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.progress-copy span {
    color: var(--muted);
    font-size: 14px;
}

.stage-list {
    display: grid;
    gap: 16px;
}

.stage-top {
    margin-bottom: 8px;
    font-size: 15px;
}

.stage-icon {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    margin-right: 8px;
    font-weight: 900;
}

.mini-bar {
    height: 10px;
    background: #edf2f7;
    border-radius: 999px;
    overflow: hidden;
}

.mini-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), #60a5fa);
    border-radius: inherit;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.task-list,
.activity-feed,
.milestones,
.contacts {
    display: grid;
    gap: 14px;
}

.task {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}

.task:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.task-marker {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green);
    font-weight: 900;
    flex: 0 0 28px;
}

.task strong,
.client-action strong {
    display: block;
    margin-bottom: 4px;
}

.task span,
.activity-item span,
.feedback span,
.contact span {
    color: var(--muted);
    font-size: 13px;
}

.task p,
.client-action p,
.activity-item p {
    color: var(--muted);
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.client-action {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 15px;
}

.client-action.high {
    background: var(--red-soft);
    border-color: #fecaca;
}

.client-action.medium {
    background: var(--amber-soft);
    border-color: #fde68a;
}

.client-action.low {
    background: var(--green-soft);
    border-color: #bbf7d0;
}

.priority {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: white;
    font-size: 12px;
    font-weight: 800;
}

.meta {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
}

.next-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.next-list li {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.activity-item {
    position: relative;
    padding-left: 22px;
    border-left: 2px solid var(--border);
}

.activity-item:before {
    content: "";
    position: absolute;
    left: -6px;
    top: 3px;
    width: 10px;
    height: 10px;
    background: var(--blue);
    border-radius: 999px;
}

.milestone {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 14px;
    background: #f8fafc;
}

.milestone span {
    color: var(--blue);
    font-weight: 900;
}

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

.resource-card {
    text-decoration: none;
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    transition: transform .18s ease, border-color .18s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
}

.resource-card span {
    color: var(--blue);
    margin-right: 6px;
}

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

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 9px 0;
    color: var(--muted);
    font-size: 14px;
}

.check-item.checked {
    color: var(--text);
    font-weight: 700;
}

.check-item span {
    color: var(--green);
    font-weight: 900;
}

.feedback blockquote {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.contact {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.contact strong,
.contact span,
.contact a {
    display: block;
}

.contact a {
    margin-top: 6px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

.footer {
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
}

.footer a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 980px) {
    .overview-grid,
    .three-col,
    .two-col {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .page {
        width: min(100% - 20px, 1180px);
        padding: 10px 0 24px;
    }

    .hero,
    .card {
        border-radius: 18px;
        padding: 20px;
    }

    .brand-row,
    .hero-content,
    .progress-visual,
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .progress-ring {
        --size: 120px;
    }

    h1 {
        font-size: 36px;
    }
}
