:root {
    --bg: #f7faf8;
    --ink: #13221c;
    --muted: #607169;
    --line: #d9e4dd;
    --green: #146c4b;
    --green-deep: #0f4d37;
    --blue: #2858bd;
    --coral: #d95c45;
    --paper: #ffffff;
    --shadow: 0 18px 50px rgba(19, 34, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
    letter-spacing: 0;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 6vw;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    overflow: hidden;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
}

.top-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #31443b;
}

.top-nav a:hover,
.top-nav a:focus-visible {
    background: #e8f2ed;
    outline: none;
}

.top-nav .nav-action {
    background: var(--ink);
    color: #fff;
}

.site-auth-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #cfe0da;
    border-radius: 8px;
    background: #eef7f3;
    color: #0f4d37;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.site-auth-badge[data-role="admin"] {
    border-color: #0b5d52;
    background: #0b5d52;
    color: #fff;
}

.site-logout-button {
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #cfe0da;
    border-radius: 8px;
    background: #fff;
    color: #31443b;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.site-logout-button:hover,
.site-logout-button:focus-visible {
    background: #fff5f2;
    border-color: #d9a79c;
    color: #9c3b2f;
    outline: none;
}

.top-nav a.auth-link-ready {
    background: #e8f2ed;
    color: #0f4d37;
}

.hero {
    position: relative;
    min-height: 78svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #edf6f1;
    border-bottom: 1px solid var(--line);
}

#wordScene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(237, 246, 241, 0.98) 0%, rgba(237, 246, 241, 0.78) 48%, rgba(237, 246, 241, 0.12) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1080px, 88vw);
    margin: 0 auto;
    padding: 74px 0 64px;
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(46px, 7vw, 96px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 620px;
    margin: 24px 0 0;
    font-size: clamp(18px, 2.1vw, 25px);
    line-height: 1.55;
    color: #2d4439;
    font-weight: 600;
}

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

.primary-link,
.secondary-link,
.intro-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 8px;
    font-weight: 800;
    border: 1px solid transparent;
}

.primary-link {
    background: var(--green);
    color: #fff;
    box-shadow: var(--shadow);
}

.secondary-link,
.intro-actions a {
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--line);
    color: var(--ink);
}

.primary-link:hover,
.secondary-link:hover,
.intro-actions a:hover {
    transform: translateY(-1px);
}

.section-shell {
    width: min(1080px, 88vw);
    margin: 0 auto;
    padding: 72px 0;
}

.section-heading {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.section-heading.align-left {
    justify-items: start;
    text-align: left;
    margin-bottom: 0;
}

.section-heading h2,
.content-section h2 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
}

.section-heading p,
.page-title p,
.content-section p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-link {
    min-height: 180px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 35px rgba(19, 34, 28, 0.07);
}

.service-link:hover,
.channel-list a:hover {
    border-color: rgba(20, 108, 75, 0.45);
    transform: translateY(-2px);
}

.service-link strong {
    font-size: 21px;
    line-height: 1.35;
}

.service-link span {
    color: var(--muted);
    line-height: 1.55;
    font-weight: 600;
}

.service-main {
    background: var(--green-deep);
    color: #fff;
    border-color: var(--green-deep);
}

.service-main span {
    color: #d8f0e5;
}

.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
    border-top: 1px solid var(--line);
}

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

.channel-list a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(19, 34, 28, 0.06);
}

.channel-list span {
    color: var(--muted);
    font-weight: 800;
}

.channel-list strong {
    color: var(--blue);
    text-align: right;
}

.channel-icons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.channel-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 30px rgba(19, 34, 28, 0.06);
    font-size: 12px;
    font-weight: 900;
}

.channel-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.channel-icon.youtube .yt-bg {
    fill: #ff0033;
}

.channel-icon.youtube .yt-play {
    fill: #fff;
}

.channel-icon.instagram .ig-outline,
.channel-icon.instagram .ig-lens,
.channel-icon.instagram .ig-dot {
    fill: none;
    stroke: #d62976;
    stroke-width: 3.4;
}

.channel-icon.naver .naver-bg {
    fill: #03c75a;
}

.channel-icon.naver .naver-n {
    fill: #fff;
}

.channel-icon:hover,
.channel-icon:focus-visible {
    border-color: rgba(20, 108, 75, 0.45);
    transform: translateY(-2px);
    outline: none;
}

.intro-links {
    border-top: 1px solid var(--line);
}

.intro-actions {
    justify-content: center;
}

.locations-section {
    border-top: 1px solid var(--line);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.location-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(19, 34, 28, 0.07);
}

.location-label {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 9px;
    border-radius: 8px;
    background: #e8f2ed;
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 900;
}

.location-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
}

.location-card p {
    margin: 0;
    color: #34483e;
    line-height: 1.65;
    font-weight: 700;
}

.location-card .location-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.location-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.location-actions a + a {
    background: #e8f2ed;
    color: var(--green-deep);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 6vw;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

.site-footer div {
    display: flex;
    gap: 16px;
    font-weight: 700;
}

.sub-page {
    background: #fff;
}

.sub-main {
    width: min(980px, 88vw);
    margin: 0 auto;
    padding: 64px 0 84px;
}

.page-title {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

.page-title h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: 0;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.content-section {
    padding: 36px 0;
    border-bottom: 1px solid var(--line);
}

.teacher-intro {
    padding-top: 44px;
}

.teacher-profile {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 34px;
    align-items: center;
}

.profile-portrait {
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101413;
    box-shadow: 0 16px 42px rgba(19, 34, 28, 0.12);
}

.profile-portrait img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.profile-portrait figcaption {
    margin-top: 10px;
    color: #dce7e1;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.profile-copy h2 {
    margin-bottom: 12px;
}

.profile-copy h3,
.portfolio-details h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.3;
}

.profile-lead {
    color: #30443a;
    font-weight: 650;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.profile-tags span {
    padding: 8px 11px;
    border-radius: 8px;
    background: #e8f2ed;
    color: var(--green-deep);
    font-size: 14px;
    font-weight: 900;
}

.portfolio-section {
    display: grid;
    gap: 24px;
}

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

.proof-card {
    min-height: 154px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(19, 34, 28, 0.06);
}

.proof-link {
    display: block;
}

.proof-link:hover,
.proof-link:focus-visible {
    border-color: rgba(20, 108, 75, 0.45);
    transform: translateY(-2px);
    outline: none;
}

.proof-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--green-deep);
    font-size: 18px;
    line-height: 1.35;
}

.proof-card p,
.portfolio-details p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.portfolio-details {
    padding-top: 2px;
}

.detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #34483e;
    line-height: 1.65;
}

.data-meta {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.data-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.data-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(19, 34, 28, 0.06);
}

.data-card h2,
.data-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.data-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.post-card-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.post-card-link:hover,
.post-card-link:focus-visible {
    border-color: #9abdab;
    box-shadow: 0 16px 36px rgba(20, 46, 35, 0.12);
    transform: translateY(-2px);
    outline: none;
}

.analysis-summary-card {
    display: grid;
    gap: 14px;
}

.post-cta {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--green-deep);
    color: #fff;
    font-weight: 900;
}

.detail-back {
    margin-bottom: 18px;
}

.detail-back a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 13px;
    border-radius: 8px;
    background: #e8f2ed;
    color: var(--green-deep);
    font-weight: 900;
}

.post-meta {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.notice-box {
    margin: 18px 0 0;
    padding: 16px;
    border: 1px solid #cfe1d8;
    border-radius: 8px;
    background: #f2f8f5;
    color: #31443b;
    line-height: 1.65;
    font-weight: 750;
}

.notice-box.compact {
    margin: 16px 0;
    padding: 12px 14px;
    font-size: 14px;
}

.public-sample-notice {
    border-color: #e7c0b9;
    background: #fff7f5;
    color: #2f241f;
    font-size: 16px;
    line-height: 1.75;
}

.public-sample-notice strong {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
    color: #16231f;
}

.public-sample-notice strong span {
    color: #b63b32;
}

.member-access-notice {
    border-color: #b7d9cc;
    background: #f0f8f4;
}

.member-access-notice strong {
    color: #0b5d52;
}

.analysis-card {
    display: grid;
    gap: 18px;
}

.analysis-block {
    display: grid;
    gap: 12px;
}

.analysis-block h3 {
    margin: 0;
    font-size: 20px;
}

.analysis-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.analysis-counts span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f2f7f4;
    color: #2d4439;
    font-weight: 800;
}

.analysis-counts strong {
    color: var(--green-deep);
}

.analysis-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.analysis-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
}

.analysis-table th,
.analysis-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.analysis-table th {
    background: #f2f7f4;
    color: var(--green-deep);
    font-weight: 900;
}

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

.data-card .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.data-card .card-actions a {
    padding: 10px 12px;
    border-radius: 8px;
    background: #e8f2ed;
    color: var(--green-deep);
    font-weight: 800;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.metric-row span {
    padding: 12px;
    border-radius: 8px;
    background: #f2f7f4;
    color: #2d4439;
    font-weight: 800;
}

.empty-state {
    padding: 28px;
    border: 1px dashed #b7c8bf;
    border-radius: 8px;
    background: #f7faf8;
    color: var(--muted);
    line-height: 1.65;
}

.learn-main {
    width: min(860px, 88vw);
}

.learn-grid {
    display: grid;
    gap: 10px;
}

.featured-learn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.learn-card {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.learn-card:hover,
.learn-card:focus-visible {
    border-color: rgba(20, 108, 75, 0.48);
    background: #fbfefd;
    outline: none;
}

.learn-card span {
    display: block;
    margin-bottom: 6px;
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 900;
}

.learn-card strong {
    display: block;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.38;
}

.learn-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.learn-category-section {
    padding: 30px 0;
}

.learn-category-section .section-heading {
    margin-bottom: 12px;
}

.learn-category-section .section-heading h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.learn-grid.compact {
    gap: 8px;
}

.learn-grid.compact .learn-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 4px;
    padding: 12px 0;
    border-width: 1px 0 0;
    border-radius: 0;
    background: transparent;
}

.learn-grid.compact .learn-card span {
    grid-row: 1 / span 2;
    margin: 0;
    color: #0b5d52;
}

.learn-grid.compact .learn-card strong {
    font-size: 16px;
}

.learn-grid.compact .learn-card p {
    margin-top: 2px;
    font-size: 13px;
}

.clean-channel-section {
    grid-template-columns: 0.72fr 1.28fr;
}

.clean-channel-list a {
    align-items: center;
    min-height: 72px;
}

.clean-channel-list strong {
    color: var(--green-deep);
}

.daily-news-section {
    border-top: 1px solid var(--line);
}

.daily-news-meta {
    width: fit-content;
    margin: -8px auto 22px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #f1f8f5;
    color: #426055;
    font-size: 13px;
    font-weight: 800;
}

.daily-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.daily-news-card {
    min-height: 340px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(19, 34, 28, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.daily-news-card .news-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #476256;
    font-size: 13px;
    font-weight: 900;
}

.daily-news-card strong {
    color: #12231d;
    font-size: 18px;
    line-height: 1.42;
}

.daily-news-card p {
    margin: 0;
    color: #40584e;
    font-size: 14px;
    line-height: 1.68;
}

.news-reading-point {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: #edf7f3;
    color: var(--green-deep);
    font-size: 12px;
    font-weight: 900;
}

.news-reading-point-muted {
    margin-top: 2px;
    background: #f4f8f6;
    color: #587066;
}

.daily-news-card ul {
    margin: 0;
    padding-left: 18px;
    color: #496257;
    font-size: 13px;
    line-height: 1.62;
}

.daily-news-card a {
    margin-top: auto;
    width: fit-content;
    color: var(--green-deep);
    font-weight: 900;
}

.skeleton-news-card {
    grid-column: 1 / -1;
    min-height: 150px;
}

.content-section h2 {
    font-size: clamp(25px, 3vw, 34px);
    margin-bottom: 14px;
}

.compact {
    margin-top: 20px;
}

.policy .content-section p {
    color: #3e5148;
}

@media (max-width: 860px) {
    .site-header {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .top-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .top-nav a {
        white-space: nowrap;
    }

    .hero {
        min-height: 74svh;
    }

    .hero::after {
        background: rgba(237, 246, 241, 0.84);
    }

    .hero-inner {
        padding: 52px 0 58px;
    }

    .link-grid,
    .split-section,
    .metric-row,
    .teacher-profile,
    .proof-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .profile-portrait {
        width: min(320px, 100%);
    }

    .channel-icons {
        justify-content: flex-start;
    }

    .service-link {
        min-height: 140px;
    }

    .featured-learn-grid,
    .clean-channel-section,
    .daily-news-grid {
        grid-template-columns: 1fr;
    }

    .learn-grid.compact .learn-card {
        grid-template-columns: 1fr;
    }

    .channel-list a,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .channel-list strong {
        text-align: left;
    }
}

.site-bottom-ad {
    width: min(100% - 32px, 970px);
    min-height: 90px;
    margin: 32px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

/* EduGenius public exam analysis additions */
.public-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.public-summary-grid article {
  border: 1px solid #dbe8e2;
  border-radius: 8px;
  background: #fbfdfc;
  padding: 14px;
}
.public-summary-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #12372e;
}
.public-summary-grid p {
  margin: 0;
  line-height: 1.65;
}
.analysis-bars {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #dbe8e2;
  border-radius: 8px;
  background: #fbfdfc;
}
.analysis-bar {
  display: grid;
  grid-template-columns: 120px minmax(120px, 1fr) 90px;
  gap: 10px;
  align-items: center;
}
.analysis-bar strong,
.analysis-bar em {
  font-size: 13px;
}
.analysis-bar em {
  color: #5e7069;
  font-style: normal;
  text-align: right;
}
.analysis-bar span {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6efec;
}
.analysis-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0a6f83;
}
.audience-compare-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
  padding: 14px;
  border: 1px solid #cfe0da;
  border-radius: 8px;
  background: #f7fbf9;
}
.audience-compare-panel div {
  min-width: 0;
}
.audience-compare-panel span {
  display: block;
  margin-bottom: 6px;
  color: #607169;
  font-size: 12px;
  font-weight: 800;
}
.audience-compare-panel strong {
  display: block;
  margin-bottom: 7px;
  color: #102c25;
  font-size: 15px;
}
.audience-compare-panel p {
  margin: 0;
  color: #3e5148;
  font-size: 13px;
  line-height: 1.6;
}
.audience-compare-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.audience-compare-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #0b5d52;
  border-radius: 8px;
  background: #0b5d52;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.audience-compare-actions a + a {
  background: #fff;
  color: #0b5d52;
}
.public-question-table {
  table-layout: fixed;
  min-width: 1160px;
  font-size: 12px;
}
.public-question-table.is-public {
  min-width: 900px;
}
.public-question-table th,
.public-question-table td {
  padding: 8px 7px;
  line-height: 1.45;
}
.public-question-table .col-no { width: 44px; }
.public-question-table .col-type { width: 74px; }
.public-question-table .col-source { width: 84px; }
.public-question-table .col-variation { width: 88px; }
.public-question-table .col-points { width: 54px; }
.public-question-table .col-difficulty { width: 54px; }
.public-question-table .col-key { width: 170px; }
.public-question-table.is-public .col-key { width: auto; }
.public-question-table .col-character { width: 280px; }
.public-question-table .col-strategy { width: auto; }
.public-question-table th:nth-child(-n+6),
.public-question-table td:nth-child(-n+6) {
  white-space: nowrap;
  word-break: keep-all;
  text-align: center;
}
.public-question-table th:nth-child(7),
.public-question-table td:nth-child(7),
.public-question-table th:nth-child(8),
.public-question-table td:nth-child(8),
.public-question-table th:nth-child(9),
.public-question-table td:nth-child(9) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .public-summary-grid,
  .audience-compare-panel,
  .analysis-bar {
    grid-template-columns: 1fr;
  }
  .audience-compare-actions {
    grid-column: auto;
  }
  .analysis-bar em {
    text-align: left;
  }
  .analysis-table-wrap {
    margin-inline: -4px;
  }
  .public-question-table {
    min-width: 1040px;
    font-size: 11.5px;
  }
  .public-question-table.is-public {
    min-width: 760px;
  }
  .public-question-table th,
  .public-question-table td {
    padding: 7px 6px;
  }
  .public-question-table .col-key { width: 150px; }
  .public-question-table .col-character { width: 250px; }
}

.member-detail-panel {
  border: 1px solid #b8d5cb;
  border-radius: 8px;
  padding: 16px;
  background: #fbfefd;
}
.member-detail-panel .member-detail-status {
  padding: 12px 14px;
  border: 1px solid #d5e6df;
  border-radius: 8px;
  background: #f2f8f5;
  color: #31443b;
  line-height: 1.6;
}
.member-table-wrap {
  margin-top: 12px;
}
.member-question-table {
  table-layout: fixed;
  min-width: 980px;
  font-size: 12px;
}
.member-question-table th,
.member-question-table td {
  padding: 8px 7px;
  line-height: 1.45;
}
.member-question-table .col-member-no { width: 44px; }
.member-question-table .col-member-type { width: 72px; }
.member-question-table .col-member-source { width: 94px; }
.member-question-table .col-member-variation { width: 92px; }
.member-question-table .col-member-points { width: 54px; }
.member-question-table .col-member-difficulty { width: 56px; }
.member-question-table .col-member-key { width: auto; }
.member-question-table td:nth-child(-n+6),
.member-question-table th:nth-child(-n+6) {
  text-align: center;
  white-space: nowrap;
}
.member-question-cards {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.member-question-card {
  border: 1px solid #cfe4dc;
  border-radius: 8px;
  background: #fbfffd;
  padding: 14px;
}
.member-question-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.member-question-card-head strong {
  color: #063f37;
  font-size: 15px;
  margin-right: 2px;
}
.member-question-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf7f3;
  color: #0c4d43;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.member-question-key {
  border: 1px solid #d8e9e2;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.member-question-key strong {
  display: block;
  color: #0b5d52;
  margin-bottom: 4px;
}
.member-question-key p,
.member-detail-empty {
  margin: 0;
  line-height: 1.65;
}
.member-card-detail {
  margin-top: 10px;
}
.member-card-detail > summary {
  list-style-position: inside;
}
.member-detail-row td {
  background: #f8fbfa;
  padding: 0;
  text-align: left !important;
  white-space: normal !important;
}
.member-detail-row details {
  padding: 10px 12px;
}
.source-compare-details {
  border: 1px solid #cfe4dc;
  border-radius: 8px;
  background: #f7fcfa;
}
.member-detail-row summary {
  cursor: pointer;
  color: #0b5d52;
  font-weight: 900;
  font-size: 13px;
  text-align: left;
}
.source-compare-details[open] summary {
  padding-bottom: 10px;
  border-bottom: 1px solid #dcebe6;
}
.diff-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 800;
}
.diff-legend span {
  border-radius: 999px;
  padding: 4px 8px;
}
.legend-change {
  background: #fff1ad;
}
.legend-added {
  background: #dff5e9;
}
.legend-removed {
  background: #ffd9d9;
}
.source-detail-grid,
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.source-highlight-panel {
  background: #fffef7;
}
.source-highlight-text {
  line-height: 1.8;
  word-break: keep-all;
}
.source-highlight {
  background: #fff176;
  border-radius: 3px;
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.source-highlight-help {
  margin: 0 0 10px;
  color: #7a5a08;
  font-size: 12px;
  font-weight: 800;
}
.source-detail-single {
  margin-top: 10px;
}
.member-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}
.member-guidance-grid article {
  min-width: 0;
  border: 1px solid #d5e6df;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  text-align: left;
}
.member-guidance-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #0b5d52;
  font-size: 12px;
  font-weight: 900;
}
.member-guidance-grid p {
  margin: 0;
  color: #293f37;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.source-detail-grid article,
.diff-grid article,
.source-detail-single article {
  min-width: 0;
  border: 1px solid #d5e6df;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  text-align: left;
}
.source-detail-grid h4,
.diff-grid h4,
.source-detail-single h4 {
  margin: 0 0 8px;
  color: #102c25;
  font-size: 13px;
}
.exam-original-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.exam-original-head h4 {
  margin: 0;
  font-size: 14px;
}
.exam-original-head span {
  border: 1px solid #cfe4dc;
  border-radius: 999px;
  background: #f1f8f5;
  color: #0b5d52;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  padding: 4px 9px;
  text-align: right;
  max-width: 70%;
}
.exam-original-section {
  border-top: 1px solid #e5f0eb;
  padding-top: 10px;
  margin-top: 10px;
}
.exam-original-section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.exam-original-section strong {
  display: block;
  margin-bottom: 7px;
  color: #17685d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
}
.source-detail-grid p,
.diff-grid p,
.source-detail-single p {
  margin: 0;
  color: #293f37;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-align: left;
}
.exam-choice-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: #293f37;
  line-height: 1.65;
  text-align: left;
}
.exam-choice-list li + li {
  margin-top: 4px;
}
.source-score {
  display: inline-block;
  margin-left: 6px;
  border-radius: 999px;
  background: #eef5f2;
  padding: 2px 7px;
  color: #61756d;
  font-size: 11px;
  font-weight: 800;
}
.source-caution,
.source-detail-grid .source-caution {
  margin-top: 8px;
  color: #9a5b00;
  font-size: 12px;
  font-weight: 800;
}
.source-unmatched-note {
  margin-top: 12px;
  border: 1px solid #eadfc4;
  border-radius: 8px;
  background: #fffaf0;
  padding: 12px;
  color: #7a4b00;
  font-size: 13px;
  font-weight: 800;
}
.diff-added {
  background: #dff5e9;
  border-radius: 3px;
  padding: 0 2px;
}
.diff-change {
  background: #fff1ad;
  border-radius: 3px;
  padding: 0 2px;
}
.diff-removed {
  background: #ffd9d9;
  border-radius: 3px;
  padding: 0 2px;
  text-decoration: line-through;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.portal-card {
  display: block;
  min-height: 150px;
  text-decoration: none;
}
.portal-card span {
  display: block;
  margin-bottom: 10px;
  color: #0b735d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.portal-card strong {
  display: block;
  margin-bottom: 10px;
  color: #10231c;
  font-size: 22px;
}
.portal-card p {
  margin: 0;
  color: #586f66;
  line-height: 1.55;
}
@media (max-width: 760px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
  .member-question-table {
    min-width: 900px;
    font-size: 11px;
  }
  .member-question-table .col-member-key { width: auto; }
  .member-question-card {
    padding: 12px;
  }
  .member-question-card-head {
    gap: 6px;
  }
  .member-question-card-head span {
    font-size: 11px;
    padding: 4px 7px;
  }
  .member-guidance-grid,
  .source-detail-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .exam-original-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .exam-original-head span {
    max-width: none;
    text-align: left;
  }
}

/* EduGenius public content protection */
html.content-protected body {
  -webkit-user-select: none;
  user-select: none;
}
html.content-protected img,
html.content-protected a {
  -webkit-user-drag: none;
}
@media print {
  html.content-protected body::before {
    content: "저작권 보호 자료는 인쇄할 수 없습니다.";
    display: block;
    font: 700 18px/1.6 Malgun Gothic, sans-serif;
    margin: 40px;
  }
  html.content-protected body > * {
    display: none !important;
  }
}

/* Homepage v2: wide desktop workspace with a dedicated compact mobile layout. */
.home-v2 {
  --home-paper: #fcfdf9;
  --home-mist: #eef2eb;
  --home-ink: #34473d;
  --home-heading: #2f4439;
  --home-muted: #748078;
  --home-line: #cad1c9;
  --home-forest: #164b38;
  --home-forest-dark: #0b3326;
  --home-focus: #ee7b2d;
  min-width: 320px;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.home-v2 h1,
.home-v2 h2,
.home-v2 h3,
.home-v2 p {
  word-break: keep-all;
}

.home-v2 :focus-visible {
  outline: 3px solid var(--home-focus);
  outline-offset: 3px;
}

.home-v2 .skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: var(--home-ink);
  color: #fff;
  transform: translateY(-150%);
}

.home-v2 .skip-link:focus {
  transform: translateY(0);
}

.home-v2 .section-shell,
.home-v2 .header-inner,
.home-v2 .hero-inner,
.home-v2 .footer-inner {
  width: min(100% - 64px, 1240px);
  margin-inline: auto;
}

.home-v2 .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  min-height: 0;
  padding: 0;
  border-bottom: 1px solid var(--home-line);
  background: rgba(252, 253, 249, .97);
}

.home-v2 .header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-v2 .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  color: var(--home-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.home-v2 .brand small {
  font-size: inherit;
  font-weight: inherit;
}

.home-v2 .brand-mark {
  width: 34px;
  height: 34px;
}

.home-v2 .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-v2 .top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.25vw, 22px);
  width: auto;
  overflow: visible;
  padding: 0;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 650;
}

.home-v2 .top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
  transition: color 160ms ease;
}

.home-v2 .top-nav a:hover,
.home-v2 .top-nav a:focus-visible {
  background: transparent;
  color: var(--home-forest);
}

.home-v2 .top-nav .nav-primary {
  color: var(--home-forest);
  font-weight: 750;
}

.home-v2 .top-nav .nav-action {
  min-height: 42px;
  padding-inline: 17px;
  border: 1px solid var(--home-ink);
  background: transparent;
  color: var(--home-ink);
}

.home-v2 .menu-toggle {
  display: none;
  min-width: 58px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--home-ink);
  border-radius: 0;
  background: transparent;
  color: var(--home-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.home-v2 .hero {
  min-height: 0;
  display: block;
  overflow: visible;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-paper);
}

.home-v2 .hero::after {
  display: none;
}

.home-v2 .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(64px, 8vw, 124px);
  align-items: center;
  min-height: 620px;
  padding: 88px 0;
}

.home-v2 .hero-copy-block {
  max-width: 720px;
}

.home-v2 .eyebrow {
  margin: 0 0 18px;
  color: var(--home-forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
}

.home-v2 .hero h1 {
  max-width: none;
  margin: 0;
  color: var(--home-heading);
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.home-v2 .hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: #455149;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -.03em;
}

.home-v2 .hero-note {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2 .hero-actions {
  margin-top: 32px;
}

.home-v2 .primary-link,
.home-v2 .secondary-link {
  min-height: 50px;
  padding: 0 23px;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.home-v2 .primary-link {
  border-color: var(--home-ink);
  background: var(--home-ink);
}

.home-v2 .secondary-link {
  border-color: var(--home-ink);
  background: transparent;
}

.home-v2 .hero-overview {
  border-block: 1px solid var(--home-ink);
}

.home-v2 .hero-overview a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px 12px;
  padding: 25px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-v2 .hero-overview a:last-child {
  border-bottom: 0;
}

.home-v2 .hero-overview strong {
  color: var(--home-heading);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.home-v2 .hero-overview small {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-v2 .learning-section {
  padding-block: 112px;
}

.home-v2 .section-intro {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
  margin-bottom: 50px;
}

.home-v2 .section-intro h2,
.home-v2 .channels-inner h2,
.home-v2 .academy-info-heading h2 {
  margin: 0;
  color: var(--home-heading);
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.home-v2 .section-intro > p {
  max-width: 620px;
  margin: 5px 0 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.8;
}

.home-v2 .service-list {
  display: grid;
  grid-template-columns: .9fr 1.2fr .9fr;
  border-block: 1px solid var(--home-line);
}

.home-v2 .service-list article {
  min-width: 0;
  min-height: 260px;
  padding: 30px clamp(22px, 2.5vw, 38px);
}

.home-v2 .service-list article + article {
  border-left: 1px solid var(--home-line);
}

.home-v2 .service-list h3 {
  margin: 0;
  color: var(--home-heading);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.home-v2 .service-list p {
  margin: 11px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2 .service-list > article > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  border-bottom: 1px solid var(--home-ink);
  font-size: 14px;
  font-weight: 750;
}

.home-v2 .school-names {
  color: var(--home-ink) !important;
}

.home-v2 .access-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
}

.home-v2 .access-note strong {
  display: block;
  color: var(--home-heading);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.03em;
}

.home-v2 .access-note p {
  margin-top: 8px;
}

.home-v2 .member-notice {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 20px 32px;
  align-items: start;
  margin-top: 38px;
  padding: 28px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-v2 .member-notice h3 {
  margin: 0;
  color: var(--home-heading);
  font-size: 18px;
  font-weight: 650;
}

.home-v2 .member-notice > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2 .member-notice > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: var(--home-forest-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.home-v2 .member-notice .privacy-summary {
  grid-column: 2 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--home-line);
  font-size: 12px;
}

.home-v2 .privacy-summary a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-v2 .content-pair {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(58px, 7vw, 108px);
  padding-block: 108px;
  border-top: 1px solid var(--home-line);
}

.home-v2 .section-heading {
  display: block;
  margin: 0 0 28px;
  text-align: left;
}

.home-v2 .section-heading h2 {
  margin: 0;
  color: var(--home-heading);
  font-size: clamp(30px, 2.5vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.home-v2 .section-heading p {
  margin: 13px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2 .daily-news-section {
  padding: 0;
  border: 0;
}

.home-v2 .daily-news-meta {
  width: auto;
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--home-ink);
  border-radius: 0;
  background: transparent;
  color: var(--home-muted);
  font-size: 13px;
}

.home-v2 .daily-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.home-v2 .daily-news-card {
  min-height: 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--home-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  gap: 9px;
}

.home-v2 .daily-news-card strong {
  color: var(--home-heading);
  font-size: 17px;
}

.home-v2 .daily-news-card p,
.home-v2 .daily-news-card ul {
  color: var(--home-muted);
}

.home-v2 .news-reading-point {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-forest);
  font-size: 12px;
}

.home-v2 .learn-list {
  border-top: 1px solid var(--home-ink);
}

.home-v2 .learn-list a {
  display: block;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-line);
}

.home-v2 .learn-list strong {
  color: var(--home-heading);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  letter-spacing: -.03em;
}

.home-v2 .learn-list p {
  margin: 9px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2 .todayword-section {
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(280px, 1fr) auto;
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  padding-block: 34px;
  border-block: 1px solid var(--home-line);
}

.home-v2 .todayword-section h2 {
  margin: 0;
  color: var(--home-heading);
  font-size: 22px;
  font-weight: 650;
}

.home-v2 .panel-label {
  margin: 0 0 3px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 700;
}

.home-v2 .todayword-section > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-v2 .store-actions {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 10px;
}

.home-v2 .store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.home-v2 .store-badge img {
  display: block;
  width: auto;
  height: 48px;
}

.home-v2 .install-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.home-v2 .channels-section {
  background: var(--home-forest-dark);
  color: #fff;
}

.home-v2 .channels-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .82fr);
  gap: 90px;
  padding-block: 94px;
}

.home-v2 .channels-inner h2 {
  color: #fff;
}

.home-v2 .channels-inner > div > p {
  margin: 22px 0 0;
  color: #bcd0c6;
  font-size: 16px;
}

.home-v2 .channel-list {
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.7);
}

.home-v2 .channel-list a {
  min-height: 88px;
  align-items: center;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2 .channel-list span {
  color: #a6d0bd;
  font-size: 13px;
}

.home-v2 .channel-list strong {
  color: #fff;
  font-size: 18px;
}

.home-v2 .locations {
  padding-block: 108px;
}

.home-v2 .academy-info-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.home-v2 .academy-info-heading p {
  margin: 0;
  color: var(--home-muted);
  font-size: 15px;
}

.home-v2 .location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 38px;
  border-block: 1px solid var(--home-ink);
}

.home-v2 .location-grid > article {
  padding: 32px 38px 32px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-v2 .location-grid > article + article {
  padding-left: 38px;
  border-left: 1px solid var(--home-line);
}

.home-v2 .location-label {
  display: block;
  margin: 0 0 11px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--home-forest);
  font-size: 13px;
  font-weight: 750;
}

.home-v2 .location-grid h3 {
  margin: 0 0 22px;
  color: var(--home-heading);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.035em;
}

.home-v2 .location-grid address {
  min-height: 58px;
  color: var(--home-ink);
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
}

.home-v2 .map-preview {
  position: relative;
  display: block;
  height: 220px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 0;
  background: var(--home-mist);
}

.home-v2 .map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(.72) contrast(.96);
}

.home-v2 .map-preview > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 11px 14px;
  background: var(--home-forest-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.home-v2 .location-grid dl {
  margin: 26px 0 0;
}

.home-v2 .location-grid dl div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--home-line);
}

.home-v2 .location-grid dl div:last-child {
  border-bottom: 1px solid var(--home-line);
}

.home-v2 .location-grid dt {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 700;
}

.home-v2 .location-grid dd {
  margin: 0;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.75;
}

.home-v2 .site-footer {
  display: block;
  padding: 0;
  border-top: 1px solid var(--home-line);
  background: var(--home-mist);
}

.home-v2 .footer-inner {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-v2 .footer-inner > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-v2 .footer-inner a {
  font-size: 14px;
  font-weight: 700;
}

.home-v2 [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.home-v2 [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1160px) and (min-width: 761px) {
  .home-v2 .top-nav a:nth-child(5),
  .home-v2 .top-nav a:nth-child(6) {
    display: none;
  }

  .home-v2 .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 54px;
  }

  .home-v2 .service-list article {
    padding-inline: 24px;
  }
}

@media (max-width: 760px) {
  .home-v2 .section-shell,
  .home-v2 .header-inner,
  .home-v2 .hero-inner,
  .home-v2 .footer-inner {
    width: min(100% - 40px, 620px);
  }

  .home-v2 .site-header {
    position: sticky;
    padding: 0;
  }

  .home-v2 .header-inner {
    position: relative;
    min-height: 68px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .home-v2 .brand {
    min-width: 0;
    font-size: 15px;
  }

  .home-v2 .brand > span:last-child {
    display: grid;
    line-height: 1.2;
  }

  .home-v2 .brand small {
    font-size: 12px;
  }

  .home-v2 .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-v2 .top-nav {
    display: none;
    position: absolute;
    inset: 68px 0 auto;
    z-index: 40;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--home-ink);
    background: var(--home-paper);
    box-shadow: 0 16px 30px rgba(23,34,29,.12);
  }

  .home-v2 .top-nav.is-open {
    display: grid;
  }

  .home-v2 .top-nav a,
  .home-v2 .top-nav a:nth-child(5),
  .home-v2 .top-nav a:nth-child(6),
  .home-v2 .top-nav .nav-action {
    display: flex;
    min-height: 48px;
    padding: 0 10px;
    border: 0;
    border-bottom: 1px solid var(--home-line);
    white-space: normal;
  }

  .home-v2 .hero-inner {
    display: block;
    min-height: 0;
    padding: 56px 0 48px;
  }

  .home-v2 .hero h1 {
    font-size: clamp(42px, 11.5vw, 54px);
    white-space: normal;
  }

  .home-v2 .hero-copy {
    margin-top: 22px;
    font-size: 17px;
  }

  .home-v2 .hero-overview {
    margin-top: 44px;
  }

  .home-v2 .learning-section,
  .home-v2 .content-pair,
  .home-v2 .locations {
    padding-block: 70px;
  }

  .home-v2 .section-intro,
  .home-v2 .content-pair,
  .home-v2 .channels-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-v2 .section-intro {
    margin-bottom: 34px;
  }

  .home-v2 .section-intro h2 {
    font-size: 28px;
    white-space: nowrap;
  }

  .home-v2 .service-list {
    grid-template-columns: 1fr;
  }

  .home-v2 .service-list article {
    min-height: 0;
    padding: 28px 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-v2 .service-list article + article {
    border-left: 0;
  }

  .home-v2 .member-notice {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-v2 .member-notice .privacy-summary {
    grid-column: auto;
  }

  .home-v2 .member-notice > a {
    justify-self: stretch;
  }

  .home-v2 .todayword-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 32px;
  }

  .home-v2 .store-actions {
    justify-content: start;
  }

  .home-v2 .install-status {
    text-align: left;
  }

  .home-v2 .channels-inner {
    padding-block: 72px;
  }

  .home-v2 .channel-list a {
    flex-direction: row;
    align-items: center;
  }

  .home-v2 .channel-list strong {
    text-align: right;
  }

  .home-v2 .academy-info-heading {
    display: block;
  }

  .home-v2 .academy-info-heading p {
    margin-top: 14px;
  }

  .home-v2 .location-grid {
    grid-template-columns: 1fr;
  }

  .home-v2 .location-grid > article {
    padding: 28px 0;
  }

  .home-v2 .location-grid > article + article {
    padding-left: 0;
    border-top: 1px solid var(--home-line);
    border-left: 0;
  }

  .home-v2 .location-grid dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-v2 .footer-inner {
    min-height: 0;
    padding-block: 30px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-v2 .footer-inner > div {
    flex-wrap: wrap;
  }
}

@media (max-width: 390px) {
  .home-v2 .section-intro h2 {
    font-size: 26px;
  }

  .home-v2 .hero-actions,
  .home-v2 .store-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .home-v2 .store-badge,
  .home-v2 .store-badge img {
    width: 100%;
    height: auto;
  }

  .home-v2 .primary-link,
  .home-v2 .secondary-link {
    padding-inline: 10px;
  }
}

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

  .home-v2 [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Reference-aligned hero and direct service navigation */
.home-v2 .hero-inner {
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, .98fr);
  gap: 0;
  align-items: stretch;
  min-height: 610px;
  padding-block: 0;
}

.home-v2 .hero-copy-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px clamp(38px, 5vw, 82px) 54px 0;
}

.home-v2 .hero-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.home-v2 .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-v2 .service-list article {
  padding: 0;
}

.home-v2 .service-list > article > .service-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  margin-top: 0;
  padding: 30px clamp(22px, 2.5vw, 38px);
  border-bottom: 0;
  transition: background-color 180ms ease, color 180ms ease;
}

.home-v2 .service-link:hover,
.home-v2 .service-link:focus-visible {
  background: var(--home-mist);
}

.home-v2 .service-list .service-link h3 {
  font-size: 27px;
  line-height: 1.25;
}

.home-v2 .todayword-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-v2 .todayword-summary img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 11px;
}

@media (max-width: 1160px) and (min-width: 761px) {
  .home-v2 .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  }
}

@media (min-width: 1161px) {
  .home-v2 .section-intro {
    grid-template-columns: minmax(500px, .9fr) minmax(0, 1.1fr);
    gap: 72px;
  }

  .home-v2 .section-intro h2 {
    font-size: 40px;
    white-space: nowrap;
  }
}

@media (max-width: 1160px) and (min-width: 761px) {
  .home-v2 .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-v2 .section-intro h2 {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .home-v2 .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 48px 0 0;
  }

  .home-v2 .hero-copy-block {
    display: block;
    padding: 0 0 38px;
  }

  .home-v2 .hero-visual {
    width: auto;
    height: min(62vw, 430px);
    margin: 0;
    clip-path: none;
  }

  .home-v2 .service-list > article > .service-link {
    min-height: 0;
    padding: 28px 0;
  }

  .home-v2 .service-list .service-link h3 {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .home-v2 .hero-visual {
    height: 250px;
    margin-inline: -20px;
  }
}

/* Horizontal editorial rows below the TodayWord app */
.home-v2 .content-stream {
  padding-block: 78px 96px;
  border-bottom: 1px solid var(--home-line);
}

.home-v2 .content-row + .content-row {
  margin-top: 82px;
  padding-top: 70px;
  border-top: 1px solid var(--home-line);
}

.home-v2 .content-row .section-heading {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 30px;
}

.home-v2 .content-row .section-heading p {
  margin: 0;
  padding-bottom: 2px;
}

.home-v2 .content-row .daily-news-meta {
  margin-bottom: 0;
  padding-bottom: 14px;
}

.home-v2 .content-row .daily-news-grid,
.home-v2 .content-row .learn-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 0;
}

.home-v2 .content-row .daily-news-card,
.home-v2 .content-row .learn-list a {
  min-width: 0;
  padding: 24px clamp(20px, 2vw, 30px) 26px;
  border-bottom: 0;
  border-left: 1px solid var(--home-line);
}

.home-v2 .content-row .daily-news-card:first-child,
.home-v2 .content-row .learn-list a:first-child {
  border-left: 0;
  padding-left: 0;
}

.home-v2 .content-row .daily-news-card:last-child,
.home-v2 .content-row .learn-list a:last-child {
  padding-right: 0;
}

.home-v2 .content-row .learn-list a {
  display: block;
}

@media (max-width: 760px) {
  .home-v2 .content-stream {
    padding-block: 62px 70px;
  }

  .home-v2 .content-row + .content-row {
    margin-top: 54px;
    padding-top: 48px;
  }

  .home-v2 .content-row .section-heading {
    display: block;
    margin-bottom: 22px;
  }

  .home-v2 .content-row .section-heading p {
    margin-top: 10px;
  }

  .home-v2 .content-row .daily-news-grid,
  .home-v2 .content-row .learn-list {
    grid-template-columns: 1fr;
  }

  .home-v2 .content-row .daily-news-card,
  .home-v2 .content-row .learn-list a,
  .home-v2 .content-row .daily-news-card:first-child,
  .home-v2 .content-row .learn-list a:first-child,
  .home-v2 .content-row .daily-news-card:last-child,
  .home-v2 .content-row .learn-list a:last-child {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--home-line);
  }
}
