:root {
    --sp-ink: #27313a;
    --sp-muted: #64748b;
    --sp-surface: #ffffff;
    --sp-soft: #f7f8f4;
    --sp-border: #e4e9df;
    --sp-green: #5e8835;
    --sp-green-dark: #3f6f1f;
    --sp-orange: #df7b29;
    --sp-danger: #c2413b;
    --sp-info: #2563eb;
    --sp-radius: 18px;
    --sp-shadow: 0 16px 40px rgba(34, 45, 28, .08);
}

.sp-skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 1000001;
    padding: 10px 15px;
    border-radius: 10px;
    background: #17202a;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.sp-skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

#page-content:focus {
    outline: none;
}

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

.sp-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(94, 136, 53, .14);
    border-radius: 28px;
    background: linear-gradient(135deg, #f3f8ed 0%, #fff8ee 100%);
    box-shadow: var(--sp-shadow);
}

.sp-hero::after {
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    background: rgba(223, 123, 41, .10);
    content: "";
}

.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--sp-green-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sp-hero h1,
.sp-section-title {
    color: var(--sp-ink);
    font-weight: 900;
    letter-spacing: -.025em;
}

.sp-hero h1 {
    max-width: 820px;
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.04;
}

.sp-hero p {
    max-width: 760px;
    margin: 0;
    color: #506070;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.sp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--sp-green);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.sp-button:hover,
.sp-button:focus-visible {
    background: var(--sp-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(63, 111, 31, .18);
}

.sp-button.is-secondary {
    border-color: #d8e2cf;
    background: #fff;
    color: var(--sp-green-dark);
}

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

.sp-card {
    padding: 22px;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    background: var(--sp-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.sp-card h2,
.sp-card h3 {
    margin: 0 0 9px;
    color: var(--sp-ink);
    font-weight: 900;
}

.sp-card p,
.sp-card li {
    color: var(--sp-muted);
    line-height: 1.6;
}

.sp-card ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.sp-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 14px;
    background: #edf6e6;
    color: var(--sp-green-dark);
    font-size: 20px;
}

.sp-score-card {
    padding: 18px;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #f7faf4);
}

.sp-score-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.sp-score-head strong {
    color: var(--sp-ink);
    font-size: 16px;
}

.sp-score-value {
    color: var(--sp-green-dark);
    font-size: 20px;
    font-weight: 900;
}

.sp-progress {
    overflow: hidden;
    height: 10px;
    border-radius: 99px;
    background: #e7ecdf;
}

.sp-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--sp-green), #8dbb54);
}

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

.sp-tip-list li {
    display: flex;
    gap: 8px;
    color: var(--sp-muted);
    font-size: 13px;
}

.sp-tip-list i {
    margin-top: 3px;
    color: var(--sp-orange);
}

.sp-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(105px, 1fr));
    gap: 7px;
    margin: 14px 0 4px;
    padding: 0;
    list-style: none;
}

.sp-timeline li {
    position: relative;
    padding-top: 25px;
    color: #8a94a3;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.sp-timeline li::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 16px;
    height: 16px;
    border: 3px solid #d8dee7;
    border-radius: 50%;
    background: #fff;
    content: "";
    transform: translateX(-50%);
}

.sp-timeline li:not(:last-child)::after {
    position: absolute;
    top: 7px;
    left: calc(50% + 10px);
    width: calc(100% - 20px);
    height: 2px;
    background: #d8dee7;
    content: "";
}

.sp-timeline li.is-done,
.sp-timeline li.is-current {
    color: var(--sp-green-dark);
}

.sp-timeline li.is-done::before,
.sp-timeline li.is-current::before {
    border-color: var(--sp-green);
    background: var(--sp-green);
}

.sp-timeline li.is-done::after {
    background: var(--sp-green);
}

.sp-timeline li.is-terminal {
    color: var(--sp-danger);
}

.sp-timeline li.is-terminal::before {
    border-color: var(--sp-danger);
    background: var(--sp-danger);
}

.sp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.sp-stat {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 15px;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(6px);
}

.sp-stat strong {
    display: block;
    color: var(--sp-ink);
    font-size: 27px;
    font-weight: 900;
}

.sp-stat span {
    color: var(--sp-muted);
    font-size: 12px;
    font-weight: 800;
}

.sp-callout {
    margin-top: 22px;
    padding: 18px 20px;
    border-left: 5px solid var(--sp-orange);
    border-radius: 14px;
    background: #fff8ed;
    color: #714315;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .sp-grid { grid-template-columns: 1fr 1fr; }
    .sp-stat-grid { grid-template-columns: 1fr 1fr; }
    .sp-timeline { overflow-x: auto; grid-template-columns: repeat(5, 128px); padding-bottom: 8px; }
}

@media (max-width: 620px) {
    .sp-page { width: min(100% - 20px, 1180px); margin-top: 18px; }
    .sp-hero { padding: 25px 21px; border-radius: 21px; }
    .sp-grid { grid-template-columns: 1fr; }
    .sp-stat-grid { grid-template-columns: 1fr 1fr; }
    .sp-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

