:root {
    --ink: #16231f;
    --muted: #65746f;
    --paper: #fbf8ef;
    --cream: #fffdf8;
    --line: rgba(22, 35, 31, 0.12);
    --green: #1f5e4b;
    --green-2: #0f3f34;
    --gold: #d79b42;
    --coral: #c96b52;
    --shadow: 0 24px 70px rgba(22, 35, 31, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(215, 155, 66, 0.18), transparent 28%),
        linear-gradient(135deg, #fbf8ef 0%, #f5efe2 42%, #edf5ee 100%);
    font-family: Manrope, "Noto Sans SC", sans-serif;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 18px clamp(20px, 5vw, 70px);
    background: rgba(251, 248, 239, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: "Noto Serif SC", serif;
    font-size: 1.04rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 3vw, 36px);
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a,
.footer-links a {
    transition: color 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
    color: var(--green);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
    color: #fff;
    background: var(--green);
    box-shadow: 0 12px 28px rgba(31, 94, 75, 0.22);
}

.button.secondary {
    color: var(--green-2);
    background: rgba(255, 253, 248, 0.7);
    border-color: var(--line);
}

.header-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.section-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    min-height: calc(100vh - 82px);
    padding: clamp(54px, 8vw, 90px) 0 44px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--coral);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

h1,
h2 {
    font-family: "Noto Serif SC", serif;
    line-height: 1.1;
}

h1 {
    max-width: 740px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 8vw, 7.2rem);
    letter-spacing: 0;
}

.service-title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 4.25rem);
    letter-spacing: 0;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.hero-lede {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.7vw, 1.28rem);
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-visual img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    position: absolute;
    right: 22px;
    bottom: 24px;
    width: min(300px, calc(100% - 44px));
    padding: 22px;
    color: #fff;
    background: rgba(15, 63, 52, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
}

.hero-card span,
.hero-card small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.hero-card strong {
    display: block;
    margin: 8px 0;
    font-family: "Noto Serif SC", serif;
    font-size: 1.5rem;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    margin-top: -8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.metrics article {
    padding: 28px;
    background: rgba(255, 253, 248, 0.74);
}

.metrics strong {
    display: block;
    color: var(--green);
    font-family: "Noto Serif SC", serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.metrics span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
}

.intro,
.services,
.mentors,
.process,
.rankings,
.evaluator,
.contact {
    padding: clamp(76px, 10vw, 130px) 0 0;
}

.page-section {
    margin-bottom: clamp(46px, 6vw, 78px);
    padding-bottom: clamp(58px, 7vw, 96px);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 38px;
}

.section-heading .eyebrow {
    min-width: 170px;
}

.intro-grid,
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.intro-panel,
.service-card,
.timeline-item,
.mentor-card,
.ranking-card,
.evaluator-layout {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.76);
}

.intro-panel {
    padding: 28px;
}

.intro-panel p,
.service-card p,
.timeline-item p,
.mentor-card p,
.ranking-card small,
.evaluator-result p,
.process-copy p,
.contact-copy p,
.site-footer p {
    color: var(--muted);
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.76);
}

.service-overview p {
    margin: 0;
    color: var(--muted);
    line-height: 1.86;
}

.service-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    padding: 30px;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card:hover {
    background: var(--cream);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card:hover a {
    color: var(--green-2);
    transform: translateX(4px);
}

.service-card span,
.timeline-item span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 28px;
    color: var(--gold);
    font-weight: 900;
}

.service-card a {
    width: fit-content;
    margin-top: auto;
    color: var(--green);
    font-weight: 900;
    transition: color 180ms ease, transform 180ms ease;
}

abbr[title] {
    cursor: help;
    text-decoration: underline dotted rgba(31, 94, 75, 0.46);
    text-underline-offset: 4px;
}

.service-details {
    padding: 0 0 clamp(76px, 9vw, 120px);
}

.service-packages,
.service-proof,
.service-faq {
    padding: 0 0 clamp(76px, 9vw, 120px);
}

.service-package-table {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
}

.service-package-table table {
    width: 100%;
    min-width: 1080px;
    border-collapse: collapse;
}

.service-package-table th,
.service-package-table td {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.service-package-table th {
    color: var(--green-2);
    background: #efe6d4;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-package-table td:first-child {
    color: var(--green-2);
    font-weight: 900;
}

.service-package-table tr:last-child td {
    border-bottom: 0;
}

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

.proof-card,
.mentor-summary {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: 0 18px 48px rgba(22, 35, 31, 0.08);
}

.proof-card {
    padding: 26px;
}

.offer-proof-image {
    display: block;
    overflow: hidden;
    margin: -6px -6px 20px;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f4efe3;
}

.offer-proof-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 180ms ease;
}

.offer-proof-image:hover img {
    transform: scale(1.02);
}

.proof-card span,
.mentor-summary span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-card h3,
.mentor-summary h3 {
    margin-top: 12px;
    font-family: "Noto Serif SC", serif;
    font-size: 1.38rem;
}

.proof-card p,
.mentor-summary p,
.faq-list p {
    color: var(--muted);
    line-height: 1.78;
}

.proof-card p:last-child,
.mentor-summary p:last-child,
.faq-list p:last-child {
    margin-bottom: 0;
}

.mentor-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    padding: 26px;
}

.mentor-summary .button {
    white-space: nowrap;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: 0 14px 36px rgba(22, 35, 31, 0.06);
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    color: var(--green-2);
    font-weight: 900;
    cursor: pointer;
}

.faq-list summary::after {
    content: "+";
    color: var(--gold);
    font-weight: 900;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list details p {
    margin: 0;
    padding: 0 22px 20px;
}

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

.service-detail-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: 0 18px 48px rgba(22, 35, 31, 0.08);
}

.service-detail-card span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-detail-card h3 {
    margin-top: 12px;
    font-family: "Noto Serif SC", serif;
    font-size: 1.38rem;
}

.service-detail-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.78;
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mentor-card {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 26px;
    overflow: hidden;
    background: var(--cream);
}

.mentor-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
}

.mentor-card div {
    padding: 28px 28px 28px 0;
}

.mentor-card span,
.ranking-card span,
.evaluator-result span {
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mentor-card span,
#about-team .about-card-grid span {
    letter-spacing: 0;
    text-transform: none;
}

.mentor-summary span {
    letter-spacing: 0;
    text-transform: none;
}

.mentor-card ul {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.process {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: clamp(30px, 6vw, 72px);
}

.process-copy {
    position: sticky;
    top: 116px;
    align-self: start;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-item {
    padding: 28px;
}

.ranking-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 8px;
    max-width: 740px;
    margin-top: 28px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 239, 226, 0.72);
    box-shadow: 0 18px 44px rgba(22, 35, 31, 0.1);
}

.ranking-switch button {
    min-height: 48px;
    padding: 0 18px;
    color: var(--green-2);
    background: rgba(255, 253, 248, 0.76);
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.ranking-switch button.is-active {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 10px 24px rgba(31, 94, 75, 0.18);
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ranking-card {
    padding: 30px;
    background: var(--cream);
}

.ranking-card ol {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: ranking;
}

.ranking-card li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    counter-increment: ranking;
}

.ranking-card li::before {
    content: counter(ranking, decimal-leading-zero);
    color: var(--gold);
    font-weight: 900;
}

.ranking-card strong,
.ranking-card small {
    display: block;
}

.ranking-card small {
    margin-top: 5px;
}

.ranking-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
    box-shadow: var(--shadow);
}

.ranking-preview > div,
.ranking-preview ul {
    margin: 0;
    padding: clamp(24px, 4vw, 42px);
    background: var(--cream);
}

.ranking-preview p {
    max-width: 640px;
    color: var(--muted);
    line-height: 1.8;
}

.ranking-preview .button {
    width: fit-content;
    margin-top: 10px;
}

.ranking-preview ul {
    display: grid;
    gap: 14px;
    list-style: none;
}

.ranking-preview li {
    padding-bottom: 14px;
    color: var(--green-2);
    border-bottom: 1px solid var(--line);
    font-weight: 900;
}

.ranking-preview li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ranking-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: clamp(30px, 6vw, 70px);
    align-items: center;
    min-height: calc(68vh - 82px);
    padding: clamp(58px, 8vw, 92px) 0 34px;
}

.ranking-hero h1 {
    max-width: 850px;
    font-size: clamp(2.72rem, 7vw, 6.6rem);
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    gap: clamp(30px, 6vw, 72px);
    align-items: center;
    padding: clamp(58px, 8vw, 92px) 0 34px;
}

.about-hero h1 {
    max-width: 900px;
    font-size: clamp(2.72rem, 7vw, 6.4rem);
}

.about-summary {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.about-summary span,
.about-card-grid span {
    display: block;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-summary strong {
    display: block;
    margin: 14px 0 16px;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.6rem, 3vw, 2.7rem);
    line-height: 1.16;
}

.about-summary p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.8;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding: clamp(42px, 7vw, 76px) 0 clamp(86px, 10vw, 126px);
}

.about-menu {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.82);
    box-shadow: var(--shadow);
}

.about-menu button {
    min-height: 48px;
    padding: 0 16px;
    color: var(--green-2);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.about-menu button.is-active {
    color: #fff;
    background: var(--green);
    box-shadow: 0 10px 24px rgba(31, 94, 75, 0.18);
}

.about-content {
    min-height: 560px;
}

.about-panel {
    padding: clamp(26px, 5vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
    scroll-margin-top: 108px;
}

.about-panel[hidden] {
    display: none;
}

.about-panel h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 4rem);
}

.about-panel p,
.about-steps span {
    color: var(--muted);
    line-height: 1.86;
}

.about-question-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
}

.about-question-list li {
    padding: 16px 18px;
    color: #315348;
    background: rgba(237, 245, 238, 0.64);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.72;
}

.about-stat-grid,
.about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.about-stat-grid article,
.about-card-grid article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(245, 239, 226, 0.48);
}

.about-stat-grid strong {
    display: block;
    color: var(--green);
    font-family: "Noto Serif SC", serif;
    font-size: 3rem;
    line-height: 1;
}

.about-stat-grid span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-weight: 800;
}

.about-card-grid.two-column {
    grid-template-columns: repeat(2, 1fr);
}

.about-card-grid h3 {
    margin: 12px 0 10px;
    font-family: "Noto Serif SC", serif;
    font-size: 1.45rem;
}

.about-card-grid p {
    margin-bottom: 0;
}

.about-steps {
    display: grid;
    gap: 14px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.about-steps li {
    display: grid;
    grid-template-columns: minmax(140px, 0.24fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.about-steps li:last-child {
    border-bottom: 0;
}

.about-steps strong {
    color: var(--green-2);
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.source-panel,
.institution-card,
.region-note,
.ranking-table-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.source-panel {
    padding: clamp(24px, 4vw, 36px);
}

.source-panel span,
.institution-head span {
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.source-panel h2 {
    margin: 12px 0 16px;
    font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.source-panel p,
.institution-card p {
    color: var(--muted);
    line-height: 1.8;
}

.source-links {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.source-links a,
.institution-card > a {
    width: fit-content;
    color: var(--green);
    font-weight: 900;
}

.ranking-region {
    padding: clamp(76px, 10vw, 116px) 0 0;
    scroll-margin-top: 96px;
}

.ranking-region[data-ranking-panel] {
    margin-bottom: clamp(46px, 6vw, 78px);
    padding-bottom: clamp(76px, 9vw, 120px);
}

.ranking-region[hidden] {
    display: none;
}

.region-note-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.region-note {
    padding: 24px;
    scroll-margin-top: 108px;
}

.region-note span,
.ranking-table-toolbar span {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.region-note h3 {
    margin: 10px 0 12px;
    font-family: "Noto Serif SC", serif;
    font-size: 1.45rem;
}

.region-note p,
.ranking-table-toolbar p,
.source-note {
    color: var(--muted);
    line-height: 1.8;
}

.ranking-table-card {
    overflow: hidden;
}

.ranking-table-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: start;
    padding: clamp(22px, 4vw, 32px);
    border-bottom: 1px solid var(--line);
}

.ranking-table-toolbar p {
    max-width: 760px;
    margin: 0;
}

.ranking-table-toolbar span {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(168, 133, 74, 0.1);
    color: var(--green-2);
}

.ranking-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ranking-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.ranking-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #efe6d4;
    color: var(--green-2);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ranking-table td:first-child,
.ranking-table th:first-child {
    width: 88px;
}

.ranking-table td:nth-child(2) {
    width: 300px;
    color: var(--ink);
    font-weight: 900;
}

.ranking-table td:nth-child(3) {
    width: 170px;
    color: var(--green-2);
    font-weight: 800;
}

.ranking-table td:nth-child(4) {
    width: 92px;
}

.ranking-table tr:hover td {
    background: rgba(255, 255, 255, 0.46);
}

.ranking-table a {
    color: var(--green);
    font-weight: 900;
}

.rank-cell {
    color: var(--gold);
    font-weight: 900;
}

.field-tags {
    color: var(--muted);
    line-height: 1.7;
}

.source-note {
    margin: 0;
    padding: 20px clamp(22px, 4vw, 32px) 28px;
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.institution-card {
    display: grid;
    gap: 18px;
    padding: 30px;
}

.institution-head h3 {
    margin: 10px 0 0;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.25;
}

.institution-card strong {
    color: var(--green-2);
    line-height: 1.7;
}

.evaluator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    box-shadow: var(--shadow);
}

.evaluator-form,
.evaluator-result {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 42px);
    background: var(--cream);
}

.evaluator-form {
    grid-template-columns: repeat(2, 1fr);
}

.evaluator-form label {
    display: grid;
    gap: 9px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 900;
}

.evaluator-form .button {
    grid-column: 1 / -1;
    width: 100%;
}

.evaluator-form input,
.evaluator-form select {
    color: var(--ink);
    background: rgba(22, 35, 31, 0.04);
    border-color: var(--line);
}

.evaluator-form input::placeholder {
    color: rgba(22, 35, 31, 0.36);
}

.evaluator-result {
    align-content: start;
    background: var(--green-2);
    color: #fff;
}

.evaluator-result h3 {
    margin-bottom: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.evaluator-result p {
    color: rgba(255, 255, 255, 0.72);
}

.result-columns {
    display: grid;
    gap: 12px;
}

.result-card {
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
}

.result-card strong,
.result-card small {
    display: block;
}

.program-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.program-item {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.program-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.program-item b {
    color: #fff;
    line-height: 1.5;
}

.program-item em {
    color: rgba(255, 255, 255, 0.58);
    font-style: normal;
    font-size: 0.82rem;
    line-height: 1.55;
}

.result-card small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.contact {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: clamp(30px, 6vw, 80px);
    padding-bottom: clamp(78px, 10vw, 130px);
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.contact-title span {
    display: block;
}

.contact-title {
    max-width: 620px;
    font-size: clamp(2.35rem, 4.6vw, 4.2rem);
}

.contact-methods a,
.contact-methods span {
    width: fit-content;
    color: var(--green);
    font-weight: 900;
}

.wechat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    box-shadow: 0 18px 44px rgba(22, 35, 31, 0.08);
}

.wechat-card img {
    width: 136px;
    height: 136px;
    object-fit: cover;
    border-radius: 6px;
}

.wechat-card strong,
.wechat-card small {
    display: block;
}

.wechat-card small {
    margin-top: 8px;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 800;
}

.wechat-card strong {
    font-size: 1.12rem;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 4vw, 42px);
    background: var(--green-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: grid;
    gap: 9px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.94rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 13px 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font: inherit;
    outline: none;
}

textarea {
    resize: vertical;
}

select option {
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(215, 155, 66, 0.86);
    box-shadow: 0 0 0 3px rgba(215, 155, 66, 0.22);
}

::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.contact-form .button {
    width: 100%;
    background: var(--gold);
    box-shadow: none;
}

.form-note {
    min-height: 22px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: center;
    padding: 36px clamp(20px, 5vw, 70px);
    color: rgba(255, 255, 255, 0.78);
    background: var(--ink);
}

.site-footer strong {
    color: #fff;
    font-family: "Noto Serif SC", serif;
    font-size: 1.18rem;
}

.site-footer p {
    max-width: 420px;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.58);
}

.footer-links {
    display: flex;
    gap: 20px;
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms ease;
}

@media (max-width: 940px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .site-nav,
    .header-cta {
        display: none;
    }

    .site-nav {
        position: fixed;
        inset: 80px 20px auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--cream);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .site-nav a {
        padding: 16px;
        border-bottom: 1px solid var(--line);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    body.nav-open .site-nav {
        display: flex;
    }

    .hero,
    .process,
    .mentor-card,
    .evaluator-layout,
    .about-hero,
    .about-layout,
    .ranking-hero,
    .ranking-preview,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 440px;
        height: 440px;
    }

    .metrics,
    .intro-grid,
    .service-grid,
    .service-overview,
    .service-detail-grid,
    .proof-grid,
    .mentor-grid,
    .ranking-grid,
    .region-note-grid,
    .about-stat-grid,
    .about-card-grid,
    .institution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-menu {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-table-toolbar {
        display: grid;
    }

    .ranking-switch {
        width: 100%;
    }

    .mentor-card div {
        padding: 0 26px 28px;
    }

    .section-heading {
        display: block;
    }

    .process-copy {
        position: static;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .mentor-summary {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 620px) {
    .section-shell {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        padding: 14px;
    }

    .brand small {
        display: none;
    }

    h1 {
        font-size: clamp(2.72rem, 16vw, 4.5rem);
    }

    .contact-title {
        font-size: clamp(2.05rem, 9.6vw, 3rem);
    }

    .wechat-card {
        width: 100%;
    }

    .service-title {
        white-space: normal;
        font-size: clamp(2.6rem, 12vw, 3.4rem);
    }

    .hero-actions,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .header-cta {
        width: 100%;
    }

    .metrics,
    .intro-grid,
    .service-grid,
    .service-overview,
    .service-detail-grid,
    .proof-grid,
    .mentor-summary,
    .mentor-grid,
    .ranking-grid,
    .region-note-grid,
    .about-menu,
    .about-stat-grid,
    .about-card-grid,
    .about-card-grid.two-column,
    .institution-grid,
    .evaluator-form {
        grid-template-columns: 1fr;
    }

    .metrics article,
    .intro-panel,
    .service-card,
    .proof-card,
    .timeline-item,
    .ranking-card,
    .about-panel,
    .about-stat-grid article,
    .about-card-grid article,
    .institution-card {
        padding: 22px;
    }

    .service-package-table {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .service-package-table table,
    .service-package-table thead,
    .service-package-table tbody,
    .service-package-table tr,
    .service-package-table th,
    .service-package-table td {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .service-package-table thead {
        display: none;
    }

    .service-package-table tr {
        margin-bottom: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--cream);
        box-shadow: 0 14px 36px rgba(22, 35, 31, 0.06);
        overflow: hidden;
    }

    .service-package-table td {
        display: grid;
        grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
        gap: 14px;
        padding: 13px 16px;
        border-bottom: 1px solid var(--line);
    }

    .service-package-table td::before {
        content: attr(data-label);
        color: var(--coral);
        font-size: 0.76rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .service-package-table td:last-child {
        border-bottom: 0;
    }

    .about-steps li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .about-actions .button {
        width: 100%;
    }

    .ranking-preview .button {
        width: 100%;
    }

    .ranking-switch {
        grid-template-columns: 1fr;
    }

    .ranking-table {
        min-width: 860px;
    }

    .hero-visual,
    .hero-visual img,
    .mentor-card img {
        min-height: 360px;
        height: 360px;
    }

    .hero-card {
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }
}