:root {
    color-scheme: light;
    --forest: #103e2e;
    --ink: #173a2d;
    --muted: #476459;
    --lime: #c6f250;
    --mint: #e5f3e7;
    --paper: #fcfef9;
    --line: #cedfd1;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f2f8ef; color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #209b60; outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 850; text-decoration: none; }
.mark { width: 26px; height: 23px; background: var(--forest); border-radius: 9px 4px; transform: skew(-14deg); box-shadow: inset -8px 0 var(--lime); }
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { background: var(--mint); }
.hero { border-radius: 34px; background: var(--forest); color: white; padding: clamp(22px, 5vw, 62px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.pitch { grid-column: 2; grid-row: 1; }
.comparison { grid-column: 1; grid-row: 1; background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(16px, 3vw, 26px); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.2rem, 5.8vw, 4.45rem); line-height: 1.02; letter-spacing: -.06em; margin-bottom: 16px; }
h2 { font-size: 1.35rem; line-height: 1.2; }
h3 { font-size: 1.14rem; line-height: 1.25; margin-bottom: 8px; }
.pitch p { color: #e1f2e3; max-width: 40ch; }
.button { display: inline-block; background: var(--lime); color: #173521; font-weight: 800; border-radius: 12px; padding: 11px 19px; text-decoration: none; }
.button:hover { background: #d9ff7b; }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.versions div { background: #eef1ed; padding: 12px; border-radius: 12px; }
.versions div + div { background: var(--mint); }
.versions p, details p { margin: 6px 0 0; font-size: .92rem; }
details { margin-top: 14px; }
summary { cursor: pointer; font-weight: 700; }
.section, .dashboard { padding-block: 30px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.card, .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; }
.card span, .context { display: block; font-weight: 750; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.card p, .panel p { margin-bottom: 0; color: var(--muted); }
.panel { background: var(--mint); margin-bottom: 15px; }
.panel h2 { margin-bottom: 6px; }
progress { width: min(100%, 260px); accent-color: var(--forest); }
.metric { display: block; font-size: 2.1rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
    .hero, .cards { grid-template-columns: 1fr; }
    .pitch, .comparison { grid-column: auto; grid-row: auto; }
    .hero { border-radius: 24px; }
}
@media (max-width: 370px) {
    .wrap { width: calc(100% - 24px); }
    .versions { grid-template-columns: 1fr; }
}

.course-link, .back-link { display: inline-block; font-weight: 750; margin-top: 12px; }
.back-link { margin: 0 0 14px; }
.course-hero { background: var(--forest); color: white; border-radius: 30px; padding: clamp(22px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.course-hero .context { color: var(--lime); }
.course-hero .card { color: var(--ink); }
.course-hero .card ul { margin: 0; padding-left: 21px; }
.course-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.course-body { max-width: 780px; margin-inline: auto; padding-bottom: 18px; }
.course-body details.card { padding: 14px 18px; }
.course-body section { scroll-margin-top: 16px; }
@media (max-width: 720px) {
    .course-hero { grid-template-columns: 1fr; border-radius: 24px; }
}

.gallery-intro { background: var(--forest); color: white; border-radius: 26px; padding: clamp(22px, 5vw, 54px); }
.gallery-intro .context { color: var(--lime); }
.gallery-intro p:last-child { margin-bottom: 0; max-width: 57ch; }
.review-list { max-width: 880px; margin-inline: auto; padding-block: 20px 30px; display: grid; gap: 14px; justify-items: start; }
.review-card { width: 100%; }
@media (max-width: 540px) {
    .review-card .versions { grid-template-columns: 1fr; }
}

.directory-title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 20px; }
.mentor-directory { grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); }
.mentor-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mentor-header h2 { font-size: 1.1rem; margin-bottom: 4px; }
.mentor-header p { font-size: .85rem; }
.mentor-avatar { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; object-fit: cover; border-radius: 14px; background: var(--mint); color: var(--forest); font-weight: 800; }
.mentor-card .course-link { font-size: .9rem; }

.account-panel { max-width: 520px; margin: 24px auto 36px; padding: clamp(18px, 5vw, 34px); }
.account-panel h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); overflow-wrap: anywhere; }
.account-panel label { display: block; margin-top: 14px; font-weight: 750; }
.account-panel input { width: 100%; margin-top: 5px; padding: 9px 12px; border: 1px solid #6c8578; border-radius: 9px; font: inherit; color: var(--ink); }
.account-panel input:focus-visible, .account-panel button:focus-visible { outline: 3px solid #209b60; outline-offset: 2px; }
.account-panel button { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.account-panel > form > button, .account-actions { margin-top: 18px; }
.account-panel .form-error { background: #fff0eb; color: #842818; border-radius: 9px; padding: 10px; }
.account-panel .signout-button { background: var(--mint); }
.account-panel textarea { width: 100%; margin-top: 5px; padding: 9px 12px; border: 1px solid #6c8578; border-radius: 9px; font: inherit; color: var(--ink); resize: vertical; }
.account-panel textarea:focus-visible { outline: 3px solid #209b60; outline-offset: 2px; }

.project-room { max-width: 800px; margin-inline: auto; }
.project-field { margin-block: 0 18px; min-width: 0; }
.project-field label { display: block; font-weight: 750; }
.project-field textarea { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #6c8578; border-radius: 9px; font: inherit; color: var(--ink); resize: vertical; }
.project-panel button { border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.project-panel .signout-button { background: var(--mint); }
.project-panel .form-error { margin-top: 6px; color: #842818; }
.project-panel textarea:focus-visible, .project-panel button:focus-visible { outline: 3px solid #209b60; outline-offset: 2px; }
.project-text { white-space: pre-wrap; overflow-wrap: anywhere; }

.activity-flyer { display: block; width: 100%; height: auto; margin-bottom: 12px; border-radius: 10px; }
.account-panel input[type="checkbox"] { width: auto; margin-right: 6px; }
