:root {
    --bg: #ffffff;
    --surface: #f7faff;
    --surface-blue: #edf5ff;
    --line: #e3eaf5;
    --text: #111c35;
    --muted: #66758e;
    --primary: #1768e7;
    --primary-2: #2c83f5;
    --primary-dark: #104eaf;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1240px, calc(100% - 44px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(220,229,242,.9);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 42px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.04em;
    white-space: nowrap;
}

.brand strong {
    color: var(--primary);
}

.brand-mark {
    width: 29px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #2a83f7, #1459c9);
    border-radius: 9px 9px 9px 3px;
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
    box-shadow: 0 8px 18px rgba(23,104,231,.2);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 20px;
    font-size: 15px;
    font-weight: 750;
}

.main-nav a {
    position: relative;
    padding: 27px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 20px;
    height: 2px;
    background: var(--primary);
    transition: right .2s ease;
}

.main-nav a:hover::after {
    right: 0;
}

.login-button {
    margin-left: auto;
    padding: 11px 20px;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(23,104,231,.18);
}

.teacher-hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #f7fbff;
}

.teacher-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(248,252,255,1) 0%,
            rgba(248,252,255,.98) 37%,
            rgba(248,252,255,.74) 49%,
            rgba(248,252,255,.05) 66%,
            rgba(248,252,255,0) 100%
        ),
        url("/assets/images/teacher-hero.webp") right center / auto 100% no-repeat;
}

.teacher-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(239,247,255,.7));
    pointer-events: none;
}

.teacher-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 610px;
    display: grid;
    grid-template-columns: .93fr 1.07fr;
    align-items: center;
}

.hero-copy {
    padding: 64px 0 108px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 850;
    letter-spacing: .035em;
}

.hero-copy h1 {
    margin: 0;
    max-width: 670px;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -.065em;
}

.hero-copy h1 span {
    color: var(--primary);
}

.hero-desc {
    margin: 24px 0 0;
    color: #465671;
    font-size: 18px;
    line-height: 1.75;
    letter-spacing: -.02em;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 850;
    transition: transform .18s ease, box-shadow .18s ease;
}

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

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0877f4);
    box-shadow: 0 12px 24px rgba(23,104,231,.2);
}

.button.secondary {
    color: var(--primary-dark);
    background: rgba(255,255,255,.9);
    border: 1px solid #bbd3f5;
}

.hero-points {
    display: flex;
    gap: 24px;
    margin-top: 30px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
}

.point-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary);
    background: #e7f1ff;
    font-size: 12px;
    font-weight: 900;
}

.hero-point strong,
.hero-point small {
    display: block;
}

.hero-point strong {
    font-size: 13px;
    line-height: 1.35;
}

.hero-point small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.product-overlap {
    position: relative;
    z-index: 5;
    margin-top: -72px;
    padding-bottom: 30px;
}

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

.product-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(219,229,242,.95);
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(38,67,113,.09);
    backdrop-filter: blur(12px);
}

.product-card-head {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    font-size: 27px;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 20px rgba(31,67,110,.12);
}

.icon-eduflow {
    background: linear-gradient(145deg, #1c87fb, #2463d6);
}

.icon-hancom {
    background: linear-gradient(145deg, #25a8cc, #1683aa);
}

.icon-excel {
    background: linear-gradient(145deg, #18b06d, #087c4b);
}

.product-card h2 {
    margin: 0;
    font-size: 23px;
    letter-spacing: -.035em;
}

.product-subtitle {
    margin: 5px 0 0;
    color: var(--primary);
    font-size: 13px;
    font-weight: 750;
}

.product-copy {
    min-height: 66px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.product-actions {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 9px;
}

.product-actions a {
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 850;
}

.product-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0d7bf4);
}

.product-hancom .product-primary {
    background: linear-gradient(135deg, #1499bd, #177da5);
}

.product-excel .product-primary {
    background: linear-gradient(135deg, #15a968, #087d4c);
}

.product-secondary {
    color: #31619f;
    background: #edf4fd;
}

.workflow-section {
    padding: 18px 0 78px;
}

.workflow-panel {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 30px;
    align-items: center;
    padding: 30px 34px;
    border: 1px solid #deebf8;
    border-radius: 24px;
    background: linear-gradient(135deg, #f4f9ff, #eaf4ff);
}

.workflow-intro h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.18;
    letter-spacing: -.045em;
}

.workflow-intro > p:last-child {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.workflow-list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.workflow-item {
    min-width: 92px;
    text-align: center;
}

.workflow-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 9px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    border: 1px solid #dfeaf7;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(51,89,143,.07);
}

.workflow-item strong,
.workflow-item small {
    display: block;
}

.workflow-item strong {
    font-size: 14px;
}

.workflow-item small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.workflow-arrow {
    padding-top: 21px;
    color: #3280ed;
    font-size: 24px;
    font-weight: 300;
}

.updates-section {
    padding: 82px 0 92px;
    background: #fff;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-bottom: 26px;
}

.section-title-row h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -.045em;
}

.section-title-row > p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

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

.update-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(34,56,94,.045);
}

.update-badge {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--primary);
    background: #eaf3ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
}

.update-card h3 {
    margin: 17px 0 10px;
    font-size: 18px;
    letter-spacing: -.025em;
}

.update-card p {
    min-height: 62px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.update-card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 850;
}

.teacher-message {
    padding: 76px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(65,130,244,.13), transparent 28%),
        linear-gradient(135deg, #f4f9ff, #fff);
    border-top: 1px solid #e7eef8;
}

.teacher-message-inner {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 48px;
    align-items: center;
}

.teacher-message h2 {
    margin: 0;
    font-size: 33px;
    line-height: 1.2;
    letter-spacing: -.045em;
}

.teacher-message-inner > p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer {
    padding: 36px 0 22px;
    border-top: 1px solid #e4eaf3;
    background: #f9fbfe;
}

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

.footer-brand p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.family-site {
    text-align: right;
}

.family-site span {
    display: block;
    margin-bottom: 7px;
    color: #8995a9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.family-site a {
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 850;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #e7ecf3;
    color: #8792a4;
    font-size: 11px;
}

.footer-bottom a {
    color: #5f718c;
    font-weight: 700;
}

/* Platform theme from 1.0.1 remains available */
.platform-theme {
    background: #f5f8fd;
}

.platform-theme .platform-preview {
    min-height: 720px;
    padding: 88px 0;
    color: #fff;
    background:
        radial-gradient(circle at 78% 20%, rgba(36,103,232,.65), transparent 30%),
        linear-gradient(135deg, #0d1b39, #132a54 54%, #0c1a37);
}

.platform-theme .platform-preview .eyebrow {
    color: #87b1ff;
}

.platform-theme .platform-preview .hero-desc {
    color: #c6d2e6;
}

.platform-theme .dashboard-placeholder {
    min-height: 390px;
    margin-top: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    background: rgba(255,255,255,.09);
    color: #c8d5e9;
}

.platform-theme .dashboard-placeholder strong {
    color: #fff;
    font-size: 28px;
}

@media (max-width: 1080px) {
    .teacher-hero-bg {
        background:
            linear-gradient(90deg,
                rgba(248,252,255,1) 0%,
                rgba(248,252,255,.97) 46%,
                rgba(248,252,255,.42) 70%,
                rgba(248,252,255,.12) 100%
            ),
            url("/assets/images/teacher-hero.webp") 78% center / auto 100% no-repeat;
    }

    .hero-points {
        gap: 14px;
    }

    .hero-point small {
        display: none;
    }

    .workflow-panel {
        grid-template-columns: 1fr;
    }

    .workflow-intro {
        text-align: center;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 30px, 720px);
    }

    .header-inner {
        min-height: 66px;
    }

    .main-nav {
        display: none;
    }

    .login-button {
        padding: 9px 14px;
        font-size: 13px;
    }

    .teacher-hero,
    .teacher-hero-inner {
        min-height: auto;
    }

    .teacher-hero-bg {
        position: relative;
        height: 360px;
        background:
            linear-gradient(180deg, rgba(248,252,255,0) 62%, rgba(248,252,255,1) 100%),
            url("/assets/images/teacher-hero.webp") center / cover no-repeat;
    }

    .teacher-hero-inner {
        display: block;
        margin-top: -40px;
    }

    .hero-copy {
        padding: 0 0 115px;
        text-align: center;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 10vw, 60px);
    }

    .hero-actions,
    .hero-points {
        justify-content: center;
    }

    .teacher-hero-spacer {
        display: none;
    }

    .product-grid,
    .update-grid {
        grid-template-columns: 1fr;
    }

    .product-overlap {
        margin-top: -74px;
    }

    .product-copy {
        min-height: 0;
    }

    .workflow-list {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    .workflow-item {
        flex: 0 0 96px;
    }

    .workflow-arrow {
        flex: 0 0 20px;
    }

    .section-title-row,
    .teacher-message-inner {
        display: block;
    }

    .section-title-row > p {
        margin-top: 12px;
    }

    .teacher-message-inner > p {
        margin: 18px 0 24px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .family-site {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 520px);
    }

    .brand {
        font-size: 20px;
    }

    .brand-mark {
        width: 26px;
        height: 26px;
    }

    .teacher-hero-bg {
        height: 300px;
        background-position: 43% center;
    }

    .hero-copy {
        padding-bottom: 104px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-desc br {
        display: none;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-point small {
        display: block;
    }

    .product-card {
        padding: 22px;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .workflow-panel {
        padding: 24px 18px;
    }

    .section-title-row h2,
    .teacher-message h2 {
        font-size: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* FACT EDU 1.0.3 teacher hero tone adjustment */
.teacher-hero-bg {
    background:
        linear-gradient(90deg,
            rgba(248,252,255,.84) 0%,
            rgba(248,252,255,.76) 28%,
            rgba(248,252,255,.42) 46%,
            rgba(248,252,255,.14) 60%,
            rgba(248,252,255,.05) 72%,
            rgba(248,252,255,0) 100%
        ),
        linear-gradient(0deg,
            rgba(17,28,53,.09),
            rgba(17,28,53,.09)
        ),
        url("/assets/images/teacher-hero.webp") 86% center / auto 100% no-repeat;
}

@media (max-width: 1080px) {
    .teacher-hero-bg {
        background:
            linear-gradient(90deg,
                rgba(248,252,255,.90) 0%,
                rgba(248,252,255,.80) 38%,
                rgba(248,252,255,.38) 58%,
                rgba(248,252,255,.13) 78%,
                rgba(248,252,255,.05) 100%
            ),
            linear-gradient(0deg,
                rgba(17,28,53,.08),
                rgba(17,28,53,.08)
            ),
            url("/assets/images/teacher-hero.webp") 82% center / auto 100% no-repeat;
    }
}

@media (max-width: 860px) {
    .teacher-hero-bg {
        background:
            linear-gradient(180deg,
                rgba(17,28,53,.06) 0%,
                rgba(17,28,53,.02) 45%,
                rgba(248,252,255,0) 68%,
                rgba(248,252,255,1) 100%
            ),
            url("/assets/images/teacher-hero.webp") center / cover no-repeat;
    }
}

@media (max-width: 560px) {
    .teacher-hero-bg {
        background:
            linear-gradient(180deg,
                rgba(17,28,53,.08) 0%,
                rgba(17,28,53,.03) 48%,
                rgba(248,252,255,0) 72%,
                rgba(248,252,255,1) 100%
            ),
            url("/assets/images/teacher-hero.webp") 43% center / cover no-repeat;
    }
}


/* FACT EDU HELPER v1.0.4 */
.edu-helper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 120;
    font-family: inherit;
}

.edu-helper-launcher {
    min-width: 222px;
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px 10px 10px;
    border: 1px solid rgba(28,103,226,.17);
    border-radius: 18px;
    color: #102349;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 38px rgba(24,57,109,.19);
    cursor: pointer;
    backdrop-filter: blur(16px);
}

.edu-helper-launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 44px rgba(24,57,109,.23);
}

.edu-helper-launcher-icon,
.edu-helper-avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #2584fa, #155bc8);
    box-shadow: 0 8px 18px rgba(28,103,226,.22);
    font-weight: 900;
}

.edu-helper-launcher-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 19px;
}

.edu-helper-launcher-text {
    text-align: left;
}

.edu-helper-launcher-text strong,
.edu-helper-launcher-text small {
    display: block;
}

.edu-helper-launcher-text strong {
    font-size: 14px;
    letter-spacing: -.02em;
}

.edu-helper-launcher-text small {
    margin-top: 3px;
    color: #71809a;
    font-size: 11px;
}

.edu-helper-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(430px, calc(100vw - 34px));
    max-height: min(720px, calc(100vh - 120px));
    overflow: hidden;
    border: 1px solid #dfe7f3;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(15,40,82,.24);
    opacity: 0;
    transform: translateY(12px) scale(.98);
    transform-origin: right bottom;
    transition: opacity .18s ease, transform .18s ease;
}

.edu-helper-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.edu-helper-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 0%, rgba(89,162,255,.52), transparent 35%),
        linear-gradient(135deg, #173e7c, #1468dc);
}

.edu-helper-title-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
}

.edu-helper-avatar {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    background: rgba(255,255,255,.16);
    box-shadow: none;
}

.edu-helper-title-wrap strong,
.edu-helper-title-wrap small {
    display: block;
}

.edu-helper-title-wrap strong {
    font-size: 15px;
}

.edu-helper-title-wrap small {
    margin-top: 3px;
    color: rgba(255,255,255,.76);
    font-size: 11px;
}

.edu-helper-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.edu-helper-close:hover {
    background: rgba(255,255,255,.2);
}

.edu-helper-body {
    max-height: calc(min(720px, 100vh - 120px) - 74px);
    overflow-y: auto;
    padding: 17px;
}

.edu-helper-message {
    padding: 15px 16px;
    border: 1px solid #e0eaf7;
    border-radius: 16px;
    background: linear-gradient(135deg, #f4f9ff, #fbfdff);
}

.edu-helper-message p {
    margin: 0;
    color: #56657d;
    font-size: 12px;
    line-height: 1.7;
}

.edu-helper-message p + p {
    margin-top: 5px;
}

.edu-helper-message strong {
    color: #183b75;
}

.edu-helper-message .edu-helper-message-label {
    margin-bottom: 6px;
    color: #1768e7;
    font-size: 13px;
    font-weight: 850;
}

.edu-helper-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 13px;
}

.edu-helper-topic {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid #e0e7f1;
    border-radius: 12px;
    color: #253652;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.edu-helper-topic:hover {
    border-color: #bfd4f4;
    background: #f8fbff;
}

.edu-helper-topic.is-active {
    border-color: #9ec4fa;
    color: #145dc8;
    background: #eef6ff;
    box-shadow: inset 0 0 0 1px rgba(25,103,226,.04);
}

.edu-helper-topic span {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #66758d;
    background: #f1f4f8;
    font-size: 9px;
    font-weight: 900;
}

.edu-helper-topic.is-active span {
    color: #fff;
    background: #1768e7;
}

.edu-helper-topic strong {
    font-size: 11px;
    font-weight: 800;
}

.edu-helper-content {
    margin-top: 12px;
}

.edu-helper-card {
    padding: 17px;
    border: 1px solid #e1e8f3;
    border-radius: 16px;
    background: #fff;
    animation: eduHelperCardIn .18s ease;
}

@keyframes eduHelperCardIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.edu-helper-card-kicker {
    display: inline-block;
    color: #1768e7;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
}

.edu-helper-card h3 {
    margin: 8px 0 10px;
    color: #14213d;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -.025em;
}

.edu-helper-card p,
.edu-helper-card li {
    color: #68758b;
    font-size: 11px;
    line-height: 1.7;
}

.edu-helper-card p {
    margin: 0;
}

.edu-helper-card ul {
    margin: 11px 0 0;
    padding-left: 18px;
}

.edu-helper-points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
}

.edu-helper-points span {
    padding: 6px 9px;
    border-radius: 999px;
    color: #1768e7;
    background: #eef6ff;
    font-size: 9px;
    font-weight: 800;
}

.edu-helper-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin: 13px 0;
}

.edu-helper-flow > div {
    flex: 1;
    min-width: 0;
    padding: 9px 5px;
    border-radius: 11px;
    background: #f4f8fd;
    text-align: center;
}

.edu-helper-flow strong,
.edu-helper-flow small {
    display: block;
}

.edu-helper-flow strong {
    color: #234675;
    font-size: 10px;
}

.edu-helper-flow small {
    margin-top: 3px;
    color: #8290a4;
    font-size: 8px;
}

.edu-helper-flow > span {
    color: #4390f0;
    font-size: 12px;
}

.edu-helper-connect {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    padding: 12px 8px;
    border-radius: 12px;
    background: #f5f9ff;
}

.edu-helper-connect span {
    padding: 6px 8px;
    border-radius: 8px;
    color: #1f4d8d;
    background: #fff;
    border: 1px solid #dce8f7;
    font-size: 9px;
    font-weight: 850;
}

.edu-helper-connect b {
    color: #3380eb;
    font-size: 10px;
}

.edu-helper-actions {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 8px;
    margin-top: 12px;
}

.edu-helper-actions a,
.edu-helper-actions button {
    min-height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
}

.edu-helper-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #1768e7, #0c7bf5);
}

.edu-helper-secondary {
    border: 1px solid #dce5f1;
    color: #46617f;
    background: #f7f9fc;
}

.edu-helper-note {
    margin: 10px 2px 0;
    color: #97a2b2;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 640px) {
    .edu-helper {
        right: 12px;
        bottom: 12px;
    }

    .edu-helper-launcher {
        min-width: 0;
        width: 56px;
        height: 56px;
        min-height: 56px;
        padding: 7px;
        justify-content: center;
        border-radius: 18px;
    }

    .edu-helper-launcher-icon {
        width: 40px;
        height: 40px;
    }

    .edu-helper-launcher-text {
        display: none;
    }

    .edu-helper-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 80px;
        width: auto;
        max-height: calc(100vh - 100px);
        transform-origin: center bottom;
    }

    .edu-helper-body {
        max-height: calc(100vh - 174px);
    }

    .edu-helper-topics {
        grid-template-columns: 1fr;
    }
}

/* FACT EDU PUBLIC ACCOUNT NAV v1.0.49.14 */
.header-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:9px;
    flex:0 0 auto;
}
.header-actions .login-button{
    margin-left:0;
}
.header-account-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 17px;
    border:1px solid #cfd9e8;
    border-radius:11px;
    background:#fff;
    color:#31445f;
    font-size:14px;
    font-weight:800;
    line-height:1;
    white-space:nowrap;
    box-shadow:0 6px 16px rgba(25,48,82,.06);
    transition:border-color .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.header-account-button:hover{
    border-color:#7aa8eb;
    color:#1768e7;
    background:#f7faff;
    box-shadow:0 8px 20px rgba(23,104,231,.10);
    transform:translateY(-1px);
}
.header-account-button.is-logout{
    border-color:#d7dee9;
    color:#56667b;
    background:#f8fafc;
}
.header-account-button.is-busy{
    pointer-events:none;
    opacity:.65;
}
@media (max-width:860px){
    .header-inner{gap:14px}
    .header-actions{gap:6px}
    .header-actions .login-button,
    .header-account-button{min-height:38px;padding:8px 11px;font-size:12px;border-radius:10px}
}
@media (max-width:480px){
    .brand{font-size:20px;gap:8px}
    .brand-mark{width:27px;height:27px;font-size:14px}
    .header-actions{gap:5px}
    .header-actions .login-button,
    .header-account-button{padding:8px 9px;font-size:11px}
}


/* FACT EDU COMMUNICATION HEADER COMPACT v1.0.49.15 */
@media (max-width:1180px) and (min-width:861px){.header-inner{gap:24px}.main-nav{gap:18px;margin-left:8px;font-size:14px}.header-actions{gap:6px}.header-actions .login-button,.header-account-button{padding-left:11px;padding-right:11px}}


/* FACT EDU OFFICE BRAND 011 · WEB OFFICE entry + OFFICE family labels */
.web-office-banner {
    display: grid;
    grid-template-columns: minmax(270px,.82fr) minmax(0,1.7fr);
    gap: 22px;
    align-items: stretch;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid rgba(208,221,239,.98);
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 16px 42px rgba(38,67,113,.09);
    backdrop-filter: blur(12px);
}

.web-office-banner-copy {
    padding: 6px 4px 4px 3px;
}

.web-office-kicker {
    margin: 0 0 7px;
    color: #1768e7;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .16em;
}

.web-office-banner-copy h2 {
    margin: 0;
    color: #14233c;
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: -.045em;
}

.web-office-banner-copy > p:last-child {
    margin: 10px 0 0;
    color: #718096;
    font-size: 12px;
    line-height: 1.68;
}

.web-office-tool-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
}

.web-office-tool {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    grid-template-rows: 1fr auto;
    column-gap: 11px;
    row-gap: 9px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e1e8f2;
    border-radius: 14px;
    background: #fbfdff;
    color: #17263e;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.web-office-tool:hover {
    transform: translateY(-2px);
    border-color: #c8d8ee;
    box-shadow: 0 10px 24px rgba(40,74,120,.08);
}

.web-office-tool-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    grid-row: 1;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
}

.web-document .web-office-tool-icon { background: linear-gradient(145deg,#277ded,#175dcc); }
.web-spreadsheet .web-office-tool-icon { background: linear-gradient(145deg,#1bae70,#087d4d); }
.web-pdf .web-office-tool-icon { background: linear-gradient(145deg,#f05b63,#d83a47); }

.web-office-tool-copy {
    min-width: 0;
    display: block;
}

.web-office-tool-copy small,
.web-office-tool-copy strong,
.web-office-tool-copy em {
    display: block;
}

.web-office-tool-copy small {
    color: #7e8ba0;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .09em;
}

.web-office-tool-copy strong {
    margin-top: 3px;
    font-size: 14px;
    letter-spacing: -.025em;
}

.web-office-tool-copy em {
    margin-top: 2px;
    color: #7b899c;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}

.web-office-tool > b {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid #edf1f6;
    color: #1768e7;
    font-size: 9px;
    font-weight: 900;
}

.product-family-label {
    display: block;
    margin-bottom: 3px;
    color: #7d8aa0;
    font-size: 7px;
    font-weight: 950;
    letter-spacing: .08em;
}

@media (max-width: 980px) {
    .web-office-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .web-office-banner {
        padding: 16px;
        border-radius: 16px;
    }
    .web-office-tool-grid {
        grid-template-columns: 1fr;
    }
    .web-office-banner-copy h2 {
        font-size: 21px;
    }
}
