:root {
    --navy: #162a3c;
    --muted: #65778a;
    --line: #e0e8ee;
    --teal: #0d6871;
    --teal-dark: #09545d;
    --mist: #f4f7fa;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fff;
    color: var(--navy);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(36, 124, 131, 0.42); outline-offset: 3px; }
.site-header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 clamp(20px, 6vw, 84px);
    border-bottom: 1px solid #edf1f4;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.wordmark-mark {
    width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto;
    border-radius: 11px; background: var(--teal); color: #fff; font-size: 19px; font-weight: 800;
    letter-spacing: -1px; box-shadow: 0 5px 12px rgba(13, 104, 113, 0.18);
}
.wordmark-copy { display: flex; flex-direction: column; gap: 1px; }
.wordmark-copy strong { font-size: 12px; letter-spacing: 0.11em; }
.wordmark-copy > span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 0.2em; }
.header-note { margin-left: auto; color: #8291a0; font-size: 11px; }
.header-link { color: var(--teal-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
.header-link span { margin-left: 4px; }
.hero {
    min-height: 475px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.96fr);
    align-items: center;
    gap: 35px;
    padding: 62px clamp(24px, 9vw, 130px) 70px;
    overflow: hidden;
    background: linear-gradient(120deg, #f5faf9 0%, #f5f8fb 58%, #eef4f6 100%);
}
.hero-copy { max-width: 590px; }
.eyebrow { margin: 0 0 17px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #58a991; vertical-align: 1px; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(42px, 5.2vw, 66px); font-weight: 760; line-height: 1.04; letter-spacing: -0.055em; }
.hero h1 span { color: var(--teal); }
.hero-lede { max-width: 515px; margin: 19px 0 23px; color: #5e7082; font-size: 15px; line-height: 1.7; }
.hero-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--teal);
    color: #fff;
    box-shadow: 0 7px 16px rgba(13, 104, 113, 0.17);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: background 140ms ease, transform 140ms ease;
}
.hero-button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.hero-button span { font-size: 16px; }
.hero-assurance { margin: 13px 0 0; color: #6f8191; font-size: 10px; }
.hero-assurance span { margin-right: 4px; color: var(--teal); font-weight: 800; }
.hero-art { position: relative; min-height: 335px; display: grid; place-items: center; }
.art-orbit { position: absolute; border: 1px solid rgba(13, 104, 113, 0.13); border-radius: 50%; }
.orbit-one { width: 330px; height: 330px; }
.orbit-two { width: 260px; height: 260px; border-style: dashed; }
.resume-sheet {
    position: relative; width: 206px; min-height: 270px; padding: 17px 18px; transform: rotate(4deg);
    border: 1px solid rgba(26, 53, 71, 0.08); border-radius: 7px; background: #fff;
    box-shadow: 0 18px 46px rgba(23, 51, 70, 0.15);
}
.sheet-top { display: flex; gap: 4px; margin-bottom: 17px; }
.sheet-top span { width: 5px; height: 5px; border-radius: 50%; background: #c7d8dd; }
.sheet-name { width: 83px; height: 8px; border-radius: 4px; background: #145d68; }
.sheet-role { width: 58px; height: 4px; margin-top: 6px; border-radius: 4px; background: #9db5bd; }
.sheet-rule { height: 1px; margin: 13px 0; background: #e8eef0; }
.sheet-heading { width: 43px; height: 5px; margin-bottom: 8px; border-radius: 3px; background: #4b8b8d; }
.sheet-line { width: 80%; height: 3px; margin-top: 6px; border-radius: 4px; background: #e0e8eb; }
.sheet-line.line-long { width: 100%; }
.sheet-line.line-short { width: 53%; }
.second-heading { margin-top: 16px; }
.art-badge {
    position: absolute; right: 4%; bottom: 12%; display: flex; align-items: center; gap: 7px;
    padding: 10px 12px; border: 1px solid #e4ecee; border-radius: 10px; background: #fff;
    color: #526879; box-shadow: 0 8px 22px rgba(23, 51, 70, 0.08); font-size: 10px; font-weight: 650;
}
.art-badge span { color: #ce9f44; font-size: 14px; }
.tool-section { max-width: 1230px; margin: 0 auto; padding: 56px clamp(22px, 5vw, 72px) 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 25px; letter-spacing: -0.03em; }
.section-heading > p { margin: 0 0 3px; color: #7a8a99; font-size: 11px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.category-card {
    min-height: 220px; display: flex; flex-direction: column; padding: 18px;
    border: 1px solid var(--line); border-radius: 13px; background: #fff;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.category-card-active { border-color: #cbdedd; box-shadow: 0 5px 17px rgba(25, 68, 75, 0.06); }
.category-card:hover { border-color: #b6cece; box-shadow: 0 8px 22px rgba(25, 68, 75, 0.08); transform: translateY(-2px); }
.category-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.category-symbol { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: #eef5f5; color: var(--teal); font-size: 13px; font-weight: 800; }
.symbol-student { background: #f1f3fb; color: #6271aa; }
.symbol-image { background: #fcf5e9; color: #aa7a2e; }
.symbol-pdf { background: #f9eeee; color: #a35a5a; }
.symbol-other { background: #f2f3f5; color: #687484; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 20px; background: #f3f5f6; color: #82909c; font-size: 9px; font-weight: 650; }
.status-live { background: #e8f4ee; color: #397a60; }
.status-live span { width: 5px; height: 5px; border-radius: 50%; background: #59a17d; }
.category-card h3 { margin: 0; color: var(--navy); font-size: 14px; }
.category-card > p { margin: 7px 0 14px; color: #758595; font-size: 11px; line-height: 1.55; }
.category-tools { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.tool-link {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 11px;
    border: 1px solid #e1eceb; border-radius: 9px; background: #f8fbfb; color: var(--teal-dark); text-decoration: none;
}
.tool-link:hover { border-color: #a9cfca; background: #eff8f6; }
.tool-link > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.tool-link strong { font-size: 10.5px; }
.tool-link small { color: #748694; font-size: 9px; line-height: 1.35; }
.tool-arrow { font-size: 15px; }
.category-footnote { margin-top: auto; padding-top: 10px; border-top: 1px solid #eff2f4; color: #9aa6af; font-size: 10px; }
.site-footer { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(22px, 6vw, 84px); border-top: 1px solid #edf1f4; }
.footer-wordmark { color: #456071; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-decoration: none; }
.site-footer > span { color: #83919e; font-size: 10px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #6e8190; font-size: 10px; text-decoration: none; }
.footer-links a:hover { color: var(--teal-dark); text-decoration: underline; }
.legal-page { background: var(--mist); min-height: 100dvh; }
.legal-main { max-width: 900px; margin: 0 auto; padding: 64px 22px 80px; }
.legal-card { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 34px rgba(22, 42, 60, 0.06); }
.legal-card h1 { margin: 0 0 10px; color: var(--navy); font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.045em; }
.legal-card .lead { max-width: 700px; margin: 0 0 34px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-card h2 { margin: 34px 0 9px; color: var(--navy); font-size: 20px; letter-spacing: -0.02em; }
.legal-card h3 { margin: 22px 0 7px; color: var(--navy); font-size: 15px; }
.legal-card p, .legal-card li { color: #607486; font-size: 14px; line-height: 1.75; }
.legal-card ul { margin: 9px 0 0; padding-left: 22px; }
.legal-card a { color: var(--teal-dark); font-weight: 700; }
.legal-meta { margin-top: -2px; color: #82919d; font-size: 11px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.legal-actions .hero-button { min-height: 42px; }

.error-page { min-height: 100dvh; padding: 28px clamp(22px, 6vw, 80px); background: var(--mist); }
.error-card { max-width: 530px; margin: 12vh auto 0; padding: 42px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 14px 38px rgba(22, 42, 60, 0.07); }
.error-code { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0.15em; }
.error-card h1 { margin: 10px 0; font-size: 27px; letter-spacing: -0.03em; }
.error-card p { margin: 0 0 23px; color: var(--muted); font-size: 13px; }
.error-card .hero-button { min-height: 42px; }

@media (max-width: 850px) {
    .hero { grid-template-columns: 1fr 0.72fr; gap: 10px; padding: 50px 6vw; }
    .hero-art { min-height: 300px; }
    .orbit-one { width: 260px; height: 260px; }
    .orbit-two { width: 210px; height: 210px; }
    .resume-sheet { transform: rotate(4deg) scale(0.9); }
    .art-badge { right: -1%; bottom: 8%; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .site-header { height: 65px; padding: 0 15px; }
    .header-note { display: none; }
    .header-link { margin-left: auto; font-size: 11px; }
    .hero { min-height: auto; display: block; padding: 47px 22px 43px; }
    .hero h1 { font-size: 43px; }
    .hero-lede { font-size: 13px; }
    .hero-art { display: none; }
    .tool-section { padding: 41px 17px 46px; }
    .section-heading { display: block; margin-bottom: 16px; }
    .section-heading > p { margin-top: 8px; }
    .section-heading h2 { font-size: 22px; }
    .category-grid { grid-template-columns: 1fr; gap: 9px; }
    .category-card { min-height: 196px; padding: 15px; }
    .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 18px; }
    .footer-links { gap: 9px 13px; }
    .legal-main { padding: 35px 16px 54px; }
    .error-card { margin-top: 8vh; padding: 30px 20px; }
    .error-card h1 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
