@property --progress {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

:root {
    --ink: #102a2a;
    --muted: #647473;
    --paper: #f5f2ea;
    --surface: rgba(255, 255, 255, .76);
    --surface-solid: #fffefb;
    --line: rgba(10, 57, 55, .12);
    --brand: #0b5b55;
    --brand-deep: #063b39;
    --brand-soft: #d9f0e9;
    --gold: #c88d2e;
    --shadow: 0 24px 70px rgba(18, 52, 50, .11);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 17px;
    --font: "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

html[data-theme="dark"] {
    --ink: #f2f5f1;
    --muted: #aab8b6;
    --paper: #071b1b;
    --surface: rgba(14, 43, 42, .74);
    --surface-solid: #0f2928;
    --line: rgba(198, 230, 223, .13);
    --brand: #6ed7c4;
    --brand-deep: #b9ede2;
    --brand-soft: #153f3a;
    --gold: #e5b865;
    --shadow: 0 24px 70px rgba(0, 0, 0, .26);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 84% 8%, rgba(39, 177, 157, .13), transparent 27rem),
        radial-gradient(circle at 8% 36%, rgba(206, 149, 52, .1), transparent 22rem),
        var(--paper);
    font-family: var(--font);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color .25s ease, color .25s ease;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; inset: 10px auto auto 10px; z-index: 1000; transform: translateY(-150%);
    border-radius: 12px; background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { transform: none; }

.ambient { position: fixed; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: -1; }
.ambient-one { width: 360px; height: 360px; inset: 10% -240px auto auto; border: 1px solid rgba(35, 173, 153, .22); }
.ambient-two { width: 220px; height: 220px; inset: 62% auto auto -130px; border: 1px solid rgba(201, 144, 45, .18); }

.site-header {
    min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    border-bottom: 1px solid var(--line);
}
.site-header-minimal { min-height: 72px; justify-content: flex-end; border-bottom: 0; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-button {
    min-height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
    color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
}
.icon-button { width: 44px; cursor: pointer; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:hover { border-color: color-mix(in srgb, var(--brand) 55%, transparent); color: var(--brand); }

.hero { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding-block: 70px 96px; }
.eyebrow, .section-kicker {
    display: inline-flex; align-items: center; gap: 9px; color: var(--brand); font-size: .78rem;
    font-weight: 800; letter-spacing: .02em;
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #30baa6; box-shadow: 0 0 0 7px rgba(48, 186, 166, .12); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(3.7rem, 8vw, 6.4rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 850; }
.hero h1 em { color: var(--brand); font-style: normal; position: relative; }
.hero h1 em::after {
    content: ""; position: absolute; inset: auto 2% -11px 0; height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20'%3E%3Cpath d='M2 13C72 2 188 4 298 10' fill='none' stroke='%23c99236' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.hero-copy > p { max-width: 580px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary-button, .secondary-button {
    min-height: 52px; border-radius: 16px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; border: 1px solid transparent; cursor: pointer; font-weight: 800; font-size: .9rem;
}
.primary-button { color: #fff; background: var(--brand-deep); box-shadow: 0 16px 35px rgba(7, 66, 62, .2); }
html[data-theme="dark"] .primary-button { color: #062b29; background: #8ae2d2; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(7, 66, 62, .25); }
.primary-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.secondary-button { color: var(--ink); background: transparent; border-color: var(--line); }

.hero-orbit { position: relative; aspect-ratio: 1; width: min(100%, 500px); margin-inline: auto; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.orbit-outer { inset: 3%; animation: spin 34s linear infinite; }
.orbit-outer::before, .orbit-inner::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); top: 14%; left: 14%; box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 15%, transparent); }
.orbit-inner { inset: 19%; border-style: dashed; animation: spin-reverse 28s linear infinite; }
.orbit-inner::before { top: auto; left: auto; bottom: 7%; right: 25%; background: #30baa6; }
.impact-core {
    width: 215px; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(145deg, var(--surface-solid), color-mix(in srgb, var(--brand-soft) 65%, var(--surface-solid)));
    border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 0 0 13px color-mix(in srgb, var(--surface-solid) 65%, transparent);
}
.impact-core span { color: var(--muted); font-size: .76rem; }
.impact-core strong { font-size: 3.8rem; line-height: 1.1; letter-spacing: -.05em; color: var(--brand-deep); }
.impact-core strong small { font-size: 1.3rem; }
.impact-core i { font-style: normal; color: var(--brand); font-size: .77rem; font-weight: 800; }
.orbit-label { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: 0 10px 35px rgba(10, 50, 48, .1); font-size: .72rem; color: var(--muted); }
.orbit-label b { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); }
.orbit-label-1 { top: 8%; right: 14%; }
.orbit-label-2 { top: 33%; left: -1%; }
.orbit-label-3 { bottom: 8%; left: 19%; }
.orbit-label-4 { bottom: 21%; right: -2%; }
.orbit-more { position: absolute; bottom: 0; right: 50%; transform: translateX(50%); padding: 5px 11px; border-radius: 999px; color: var(--brand); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(10, 50, 48, .08); font-size: .65rem; font-weight: 900; white-space: nowrap; }
.orbit-dot { position: absolute; border-radius: 50%; filter: blur(.2px); }
.dot-one { width: 13px; height: 13px; background: #e9ba66; top: 24%; right: 8%; }
.dot-two { width: 9px; height: 9px; background: #9f87e8; bottom: 27%; left: 9%; }

.metrics-strip {
    margin-top: -48px; min-height: 116px; display: grid; grid-template-columns: repeat(3, .78fr) 1.75fr;
    align-items: stretch; padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); backdrop-filter: blur(24px);
}
.metric { padding: 16px 23px; display: flex; flex-direction: column; justify-content: center; border-inline-end: 1px solid var(--line); }
.metric strong { font-size: 1.7rem; line-height: 1.2; color: var(--brand-deep); }
.metric span { color: var(--muted); font-size: .77rem; }
.achievement-radial {
    min-width: 0; margin-inline-start: 10px; padding: 10px 14px; border-radius: 17px;
    display: grid; grid-template-columns: auto 76px minmax(150px, 1fr); align-items: center; gap: 14px;
    color: #fff; background:
        radial-gradient(circle at 88% 15%, rgba(113, 226, 205, .2), transparent 36%),
        radial-gradient(circle at 20% 110%, rgba(239, 182, 79, .12), transparent 45%),
        var(--brand-deep); overflow: hidden;
}
.radial-caption { display: flex; flex-direction: column; white-space: nowrap; }
.radial-caption span { color: rgba(255,255,255,.65); font-size: .61rem; }
.radial-caption strong { font-size: .78rem; }
.donut-chart {
    width: 76px; aspect-ratio: 1; position: relative; display: grid; place-items: center; border-radius: 50%;
    background: var(--donut-gradient); box-shadow: 0 0 0 5px rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.16);
    animation: donut-arrive .9s cubic-bezier(.2,.8,.25,1) both;
}
.donut-chart::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(108,226,205,.25); border-radius: inherit; animation: donut-pulse 3s ease-in-out infinite; }
.donut-core { position: absolute; inset: 10px; z-index: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #07504c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.donut-core strong { font-size: 1.15rem; line-height: 1; }
.donut-core small { margin-top: 3px; color: rgba(255,255,255,.62); font-size: .46rem; }
.radial-legend { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.legend-item {
    min-width: 0; min-height: 28px; padding: 5px 7px; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto;
    align-items: center; gap: 6px; border-radius: 9px; background: rgba(255,255,255,.075);
    opacity: 0; animation: legend-arrive .55s ease calc(.35s + var(--legend-delay)) forwards;
}
.legend-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 3px color-mix(in srgb, var(--swatch) 18%, transparent); }
.legend-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.72); font-size: .53rem; }
.legend-item b { font-size: .63rem; }
html[data-theme="dark"] .achievement-radial { color: #062b29; background: #b9ede2; }
html[data-theme="dark"] .radial-caption span,
html[data-theme="dark"] .legend-item span { color: rgba(6,43,41,.62); }
html[data-theme="dark"] .donut-core { color: #062b29; background: #b9ede2; box-shadow: inset 0 0 0 1px rgba(6,43,41,.1); }
html[data-theme="dark"] .donut-core small { color: rgba(6,43,41,.6); }
html[data-theme="dark"] .legend-item { background: rgba(6,43,41,.07); }

.explore { padding-block: 64px 100px; }
.closing h2 { margin: 9px 0 0; font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.15; letter-spacing: -.045em; }
.explore-tools { position: sticky; top: 12px; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 10px; margin-bottom: 54px; border-radius: 20px; background: color-mix(in srgb, var(--surface-solid) 86%, transparent); border: 1px solid var(--line); backdrop-filter: blur(22px); box-shadow: 0 15px 40px rgba(9, 47, 45, .08); }
.search-box { flex: 1; min-height: 50px; display: flex; align-items: center; gap: 11px; padding: 0 15px; border-radius: 14px; background: color-mix(in srgb, var(--paper) 60%, transparent); border: 1px solid transparent; }
.search-box:focus-within { border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent); }
.search-box svg { width: 21px; height: 21px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .88rem; }
.search-box input::placeholder { color: var(--muted); }
.search-box kbd { direction: ltr; color: var(--muted); border: 1px solid var(--line); border-radius: 7px; padding: 1px 7px; font-size: .67rem; }
.goal-filters { max-width: min(54vw, 620px); display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: inline proximity; }
.goal-filters::-webkit-scrollbar { display: none; }
.filter-chip { min-width: 44px; height: 44px; flex: 0 0 auto; scroll-snap-align: start; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.filter-chip:hover, .filter-chip.is-active { color: #fff; background: var(--brand-deep); border-color: var(--brand-deep); }
html[data-theme="dark"] .filter-chip:hover, html[data-theme="dark"] .filter-chip.is-active { color: #062b29; background: #8ae2d2; border-color: #8ae2d2; }

.journey { position: relative; }
.journey::before { content: ""; position: absolute; top: 55px; bottom: 30px; right: 31px; width: 2px; background: linear-gradient(to bottom, #32bca7, #d6a448 36%, #9e85e3 68%, #df7a64); opacity: .32; }
.goal-stage { --accent: #2eb5a0; --accent-soft: #d9f3ec; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; margin-bottom: 60px; }
.goal-stage.accent-gold { --accent: #c68c2e; --accent-soft: #f9ecd2; }
.goal-stage.accent-violet { --accent: #8268d4; --accent-soft: #ebe6fb; }
.goal-stage.accent-coral { --accent: #d76e59; --accent-soft: #fae6e1; }
.stage-rail { position: relative; z-index: 2; padding-top: 18px; }
.stage-rail span { width: 64px; height: 64px; border-radius: 21px; display: grid; place-items: center; color: #fff; background: var(--accent); font-weight: 900; font-size: 1.35rem; box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 28%, transparent); border: 6px solid var(--paper); }
.goal-panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.goal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.goal-title-wrap { max-width: 770px; }
.goal-number { display: inline-flex; color: var(--accent); font-size: .74rem; font-weight: 900; }
.goal-header h3 { margin: 8px 0 9px; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -.035em; }
.goal-header p { margin: 0; color: var(--muted); font-size: .93rem; }
.progress-ring {
    --progress: 0; flex: 0 0 84px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative;
    background: conic-gradient(var(--accent) calc(var(--progress) * 1%), var(--accent-soft) 0); transition: --progress 1s ease;
}
.progress-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface-solid); }
.progress-ring strong { position: relative; z-index: 1; font-size: 1.15rem; color: var(--accent); }
.progress-ring small { font-size: .65rem; }
.goal-meta { display: flex; gap: 20px; margin: 24px 0; padding: 14px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
.goal-meta span { display: flex; align-items: center; gap: 7px; }
.status-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 13%, transparent); }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.task-card { min-width: 0; min-height: 225px; display: flex; flex-direction: column; padding: 21px; border-radius: var(--radius-md); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface-solid) 82%, transparent); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.task-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 42%, transparent); box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 9%, transparent); }
.task-card.is-featured { background: linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 72%, var(--surface-solid)), var(--surface-solid)); }
.task-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.done-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .68rem; font-weight: 900; }
.done-badge svg { width: 17px; height: 17px; border-radius: 50%; padding: 3px; background: color-mix(in srgb, var(--accent) 14%, transparent); fill: none; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.featured-label { color: var(--gold); font-size: .67rem; font-weight: 800; }
.task-card h4 { margin: 14px 0 7px; font-size: 1.03rem; line-height: 1.55; }
.task-card > p { margin: 0 0 20px; color: var(--muted); font-size: .76rem; line-height: 1.8; }
.task-card footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.file-meta { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .68rem; }
.file-meta i { display: grid; place-items: center; height: 25px; padding: 0 6px; border-radius: 7px; color: #fff; background: #ce3f55; font-style: normal; font-size: .56rem; font-weight: 900; }
.file-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .72rem; font-weight: 900; }
.file-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.file-link:hover { text-decoration: underline; }
.empty-state, .no-results { padding: 42px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-md); }
.no-results { margin-top: 25px; }
.no-results span { color: var(--ink); font-weight: 900; font-size: 1.1rem; }
.no-results p { margin: 4px 0 0; }

.closing { margin-bottom: 100px; min-height: 310px; display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: clamp(30px, 6vw, 68px); border-radius: var(--radius-xl); color: #fff; background:
    radial-gradient(circle at 20% 15%, rgba(97, 222, 200, .22), transparent 35%),
    linear-gradient(135deg, #073f3c, #082b2b); overflow: hidden; position: relative;
}
.closing::after { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); left: -90px; top: -170px; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.closing > * { position: relative; z-index: 1; }
.closing .section-kicker { color: #75dfcc; }
.closing .primary-button { background: #fff; color: #073f3c; box-shadow: none; }
.site-footer { min-height: 135px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 30px; align-items: center; color: var(--muted); font-size: .74rem; }
.site-footer p { text-align: center; margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.task-card[hidden], .goal-stage[hidden] { display: none !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes donut-arrive { from { opacity: 0; transform: rotate(-120deg) scale(.55); } to { opacity: 1; transform: rotate(0) scale(1); } }
@keyframes donut-pulse { 0%, 100% { transform: scale(.96); opacity: .35; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes legend-arrive { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 60px; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-orbit { max-width: 460px; }
    .metrics-strip { grid-template-columns: repeat(3, 1fr); }
    .achievement-radial { grid-column: 1 / -1; min-height: 112px; margin: 8px 0 0; padding-inline: 22px; grid-template-columns: minmax(105px, .42fr) 84px 1fr; }
    .donut-chart { width: 82px; }
    .metric:nth-child(3) { border-inline-end: 0; }
}

@media (max-width: 700px) {
    .shell { width: min(100% - 24px, 1180px); }
    .site-header { min-height: 74px; }
    .hero { min-height: auto; padding-block: 54px 76px; }
    .hero h1 { font-size: clamp(3.1rem, 17vw, 4.7rem); }
    .hero-copy > p { font-size: .93rem; }
    .hero-orbit { width: 100%; max-width: 390px; }
    .impact-core { width: 172px; }
    .impact-core strong { font-size: 3rem; }
    .orbit-label { padding: 6px 9px; }
    .orbit-label span { display: none; }
    .metrics-strip { margin-top: -36px; grid-template-columns: repeat(3, 1fr); padding: 9px; min-height: 100px; }
    .metric { padding: 13px 7px; text-align: center; }
    .metric strong { font-size: 1.35rem; }
    .metric span { font-size: .63rem; }
    .achievement-radial { min-height: 144px; padding: 10px 13px 12px; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 8px 10px; }
    .radial-caption { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
    .radial-caption span { font-size: .56rem; }
    .radial-caption strong { font-size: .69rem; }
    .donut-chart { width: 70px; }
    .donut-core { inset: 9px; }
    .donut-core strong { font-size: 1rem; }
    .radial-legend { gap: 5px; }
    .legend-item { min-height: 27px; padding: 4px 6px; gap: 5px; }
    .explore { padding-block: 48px 70px; }
    .closing h2 { font-size: 2.35rem; }
    .explore-tools { top: 7px; flex-direction: column; align-items: stretch; border-radius: 18px; margin-bottom: 38px; }
    .goal-filters { width: 100%; max-width: 100%; padding-bottom: 1px; }
    .filter-chip { flex: 0 0 44px; }
    .journey::before { right: 20px; }
    .goal-stage { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; margin-bottom: 34px; }
    .stage-rail { padding-top: 15px; }
    .stage-rail span { width: 42px; height: 42px; border-radius: 14px; border-width: 4px; font-size: .95rem; }
    .goal-panel { padding: 21px 16px; border-radius: 24px; }
    .goal-header { gap: 14px; }
    .goal-header h3 { font-size: 1.35rem; }
    .goal-header p { font-size: .79rem; }
    .progress-ring { flex-basis: 65px; }
    .progress-ring strong { font-size: .94rem; }
    .goal-meta { flex-wrap: wrap; gap: 9px 16px; }
    .task-grid { grid-template-columns: 1fr; }
    .task-card { min-height: 210px; padding: 18px; }
    .closing { min-height: 330px; align-items: start; flex-direction: column; justify-content: space-between; margin-bottom: 60px; }
    .site-footer { min-height: 150px; flex-direction: column; justify-content: center; gap: 10px; padding-block: 28px; text-align: center; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 3.25rem; }
    .hero-actions > * { width: 100%; }
    .hero-orbit { margin-top: 10px; }
    .orbit-label-2 { left: 2%; }
    .orbit-label-4 { right: 1%; }
    .search-box kbd { display: none; }
    .goal-stage { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
    .journey::before { right: 17px; }
    .stage-rail span { width: 36px; height: 36px; border-radius: 12px; }
    .goal-header { flex-direction: column; }
    .progress-ring { align-self: flex-end; margin-top: -48px; }
}

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