:root {
    --ink: #202c29;
    --muted: #6b7772;
    --paper: #fbfaf6;
    --green: #214f43;
    --green2: #2d6b58;
    --mint: #e3f0e8;
    --peach: #f8e6d9;
    --lilac: #ece7f7;
    --line: #e5e8e1;
    --white: #fff;
    --orange: #e98b56
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

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

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

.topbar {
    height: 86px;
    padding: 0 clamp(20px, 6vw, 92px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(251, 250, 246, .94);
    border-bottom: 1px solid #ecece5;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -.5px
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .2px;
    font-weight: 500;
    line-height: 1.2
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--green);
    color: white;
    font-family: Georgia, serif;
    font-size: 25px
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 650
}

.nav>a:not(.btn) {
    color: #56615c
}

.nav>a.active,
.nav>a:hover {
    color: var(--green)
}

.nav-user {
    font-size: 12px;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: 18px
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--mint);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--green)
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 70px)
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 5vw;
    align-items: center;
    min-height: 590px;
    padding: 72px 0 78px
}

.eyebrow {
    display: block;
    color: var(--green2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 17px
}

.hero h1,
.page-hero h1,
.auth-intro h1 {
    font-size: clamp(44px, 6.4vw, 78px);
    letter-spacing: -4px;
    line-height: 1.03;
    margin: 0 0 24px;
    font-weight: 750
}

.hero h1 em,
.page-hero h1 em,
.auth-intro h1 em {
    font-family: Georgia, serif;
    font-weight: 500;
    color: var(--green2)
}

.hero-copy>p,
.page-hero>p,
.auth-intro>p {
    max-width: 530px;
    color: #68746d;
    font-size: 16px;
    line-height: 1.8
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid var(--green);
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    padding: 13px 19px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: .2s
}

.btn:hover {
    background: var(--green2);
    transform: translateY(-1px)
}

.btn-light {
    background: transparent;
    color: var(--green);
    border-color: #cfd9d1
}

.btn-light:hover {
    color: #fff
}

.btn-outline {
    background: transparent;
    color: var(--green)
}

.btn-small {
    padding: 9px 13px;
    font-size: 12px;
    border-radius: 7px;
    gap: 8px
}

.full {
    width: 100%
}

.trust-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 32px;
    color: #7c8780;
    font-size: 11px
}

.hero-art {
    min-height: 390px;
    position: relative;
    display: grid;
    place-items: center;
    background: #e6eee5;
    border-radius: 48% 48% 15px 15px;
    overflow: hidden
}

.sun {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: #f4d6b9;
    top: 36px;
    right: 8%
}

.art-card {
    position: relative;
    width: 58%;
    min-width: 230px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 22px 50px #2b49351b;
    transform: rotate(-3deg);
    z-index: 2
}

.art-icon {
    font-size: 40px;
    color: var(--orange)
}

.art-card h3 {
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1.1;
    margin: 12px 0
}

.art-card p {
    font-size: 12px;
    color: var(--muted)
}

.art-line {
    height: 5px;
    width: 68%;
    background: #d8e9df;
    border-radius: 8px;
    margin: 26px 0 16px
}

.art-card small {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: var(--green2);
    font-weight: 800
}

.floating-note {
    position: absolute;
    bottom: 48px;
    right: 2%;
    z-index: 3;
    background: var(--green);
    color: white;
    padding: 18px 22px;
    border-radius: 5px;
    font-family: Georgia, serif;
    font-size: 17px;
    transform: rotate(3deg);
    box-shadow: 0 12px 30px #142c241c
}

.art-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange)
}

.dot-one {
    left: 12%;
    top: 26%
}

.dot-two {
    right: 13%;
    bottom: 24%;
    background: #7a9e86;
    width: 15px;
    height: 15px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin: 45px 0 25px
}

.section-head h2,
.culture-band h2,
.help-strip h2 {
    font-size: clamp(27px, 3.5vw, 39px);
    letter-spacing: -1.5px;
    line-height: 1.18;
    margin: 0
}

.section-head>p {
    max-width: 390px;
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 3px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 90px
}

.feature-card {
    padding: 28px;
    border-radius: 12px;
    min-height: 270px;
    transition: transform .2s
}

.feature-card:hover {
    transform: translateY(-4px)
}

.peach {
    background: var(--peach)
}

.mint {
    background: var(--mint)
}

.lilac {
    background: var(--lilac)
}

.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: #ffffffa8;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--green);
    margin-bottom: 25px
}

.card-kicker {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #7b827c;
    font-weight: 800
}

.feature-card h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.5px;
    margin: 9px 0
}

.feature-card p {
    font-size: 13px;
    color: #65716a;
    min-height: 44px
}

.feature-card>b {
    font-size: 12px;
    color: var(--green)
}

.culture-band {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 42px;
    background: #f0eee4;
    border-radius: 12px;
    margin-bottom: 70px
}

.culture-symbol {
    font-family: Georgia, serif;
    font-size: 100px;
    color: #b5c9b8;
    line-height: 1
}

.culture-band h2 {
    margin-bottom: 14px
}

.culture-band p {
    max-width: 660px;
    color: #68736d;
    font-size: 14px
}

.text-link {
    font-size: 12px;
    color: var(--green);
    font-weight: 800;
    white-space: nowrap
}

.help-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 40px 0 65px
}

.help-strip p {
    color: var(--muted);
    font-size: 13px
}

.footer {
    background: #1e3f35;
    color: #f6f5ed;
    padding: 36px clamp(20px, 6vw, 92px);
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 35px;
    align-items: center;
    font-size: 12px
}

.footer p {
    color: #c4d2ca
}

.footer small {
    color: #c4d2ca
}

.footer strong {
    font-size: 17px
}

.page-hero {
    padding: 80px 0 50px;
    max-width: 800px
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 68px)
}

.page-hero.compact {
    padding: 64px 0 35px
}

.page-hero.compact h1 {
    font-size: clamp(40px, 5.3vw, 58px)
}

.lesson-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 45px;
    padding-bottom: 90px
}

.lesson-aside {
    position: sticky;
    top: 115px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 2px solid var(--line);
    padding: 0 0 0 17px;
    font-size: 12px;
    color: var(--muted)
}

.lesson-aside b {
    color: var(--ink);
    margin-bottom: 6px
}

.lesson-aside a:hover {
    color: var(--green)
}

.lesson-content {
    max-width: 800px
}

.lesson {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 22px;
    padding: 0 0 45px;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 120px
}

.number {
    font-family: Georgia, serif;
    font-size: 28px;
    color: #7e9a83
}

.lesson h2 {
    font-size: 28px;
    letter-spacing: -.8px;
    margin: 0 0 10px
}

.lesson p {
    color: #68746d;
    font-size: 14px
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px
}

.mini-grid article,
.value-pair article {
    padding: 20px;
    background: #f0eee7;
    border-radius: 9px
}

.mini-grid article>span {
    font-size: 23px
}

.mini-grid h3 {
    margin: 7px 0;
    font-size: 16px
}

.mini-grid p {
    font-size: 12px;
    margin: 0
}

.callout {
    background: #e7f0e8;
    border-left: 3px solid #5c8a6b;
    border-radius: 0 7px 7px 0;
    padding: 16px 18px;
    margin: 20px 0;
    color: #476453;
    font-size: 13px
}

.callout.warning {
    background: #fff0df;
    border-color: #d58a50;
    color: #80522c
}

.steps {
    padding-left: 22px
}

.steps li {
    padding: 0 0 15px 7px
}

.steps li::marker {
    color: var(--green2);
    font-weight: 800
}

.steps span {
    display: block;
    color: var(--muted);
    font-size: 13px
}

.value-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 25px
}

.value-tag {
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 800;
    color: var(--green2)
}

.value-pair h3 {
    font-size: 18px;
    margin: 8px 0
}

.value-pair p {
    font-size: 12px;
    margin-bottom: 0
}

.auth-wrap {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 8vw;
    align-items: center;
    max-width: 980px;
    margin: 70px auto 100px
}

.auth-intro h1 {
    font-size: 58px
}

.auth-quote {
    border-left: 3px solid #8baa92;
    padding: 12px 18px;
    margin-top: 40px;
    color: #5b7163;
    font-family: Georgia, serif
}

.form-card {
    padding: 32px;
    background: white;
    border: 1px solid #e8e9e2;
    border-radius: 12px;
    box-shadow: 0 12px 38px #283d2b08
}

.form-card h2 {
    margin: 0 0 5px;
    font-size: 25px;
    letter-spacing: -.7px
}

.muted,
.form-card>.muted {
    color: var(--muted);
    font-size: 12px
}

.form-card label {
    display: block;
    font-size: 12px;
    font-weight: 750;
    margin: 20px 0;
    color: #45544b
}

.form-card input:not([type=checkbox]),
.form-card textarea,
.form-card select,
.inline-update input,
.inline-update select {
    display: block;
    width: 100%;
    border: 1px solid #dce2db;
    background: #fff;
    border-radius: 7px;
    padding: 12px 13px;
    margin-top: 7px;
    outline: none;
    color: var(--ink);
    font-size: 13px
}

.form-card textarea {
    resize: vertical;
    min-height: 100px
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
    border-color: #70957c;
    box-shadow: 0 0 0 3px #e4eee6
}

.form-card label small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    margin-top: 4px
}

.form-foot {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 0
}

.form-foot a {
    color: var(--green2);
    font-weight: 800
}

.alert {
    padding: 12px 15px;
    border-radius: 7px;
    margin: 15px 0;
    font-size: 13px
}

.alert.success {
    background: #e4f4e8;
    color: #245d39
}

.alert.error {
    background: #ffe9e5;
    color: #8a3329
}

.form-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
    gap: 25px;
    padding-bottom: 90px;
    align-items: start
}

.form-card.wide {
    padding: 34px
}

.check-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 600 !important
}

.check-row input {
    accent-color: var(--green);
    width: 16px;
    height: 16px
}

.danger-check {
    color: #a34537 !important
}

.side-note {
    background: #eaf0e8;
    border-radius: 12px;
    padding: 27px
}

.side-note .feature-icon {
    background: white
}

.side-note h3 {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 10px
}

.side-note p {
    color: #65736a;
    font-size: 13px
}

.side-note h4 {
    margin-top: 28px;
    border-top: 1px solid #d5e1d5;
    padding-top: 20px
}

.status-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid #d5e1d5
}

.status-item b,
.status-item small {
    display: block
}

.status-item b {
    font-size: 12px
}

.status-item small {
    font-size: 10px;
    color: var(--muted)
}

.badge {
    display: inline-block;
    border-radius: 50px;
    padding: 4px 9px;
    background: #e6ece7;
    color: #4b6553;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap
}

.badge.urgent {
    background: #ffe4d8;
    color: #a4442c
}

.badge.baru {
    background: #fff0d6;
    color: #916323
}

.badge.ditinjau {
    background: #e4eafb;
    color: #455d9a
}

.badge.dijadwalkan,
.badge.ditindaklanjuti {
    background: #e1f1e6;
    color: #286947
}

.badge.selesai,
.badge.ditutup {
    background: #e9e9e5;
    color: #5d665f
}

.reflection-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 25px;
    padding-bottom: 45px
}

.reflection-visual {
    background: #214f43;
    color: white;
    border-radius: 12px;
    padding: 35px;
    min-height: 400px;
    position: relative;
    overflow: hidden
}

.big-quote {
    font-family: Georgia, serif;
    font-size: 100px;
    color: #a5c3a8;
    line-height: 1
}

.reflection-visual h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    line-height: 1.1
}

.reflection-visual p {
    font-size: 13px;
    color: #d2e0d4;
    max-width: 270px
}

.reflection-stamp {
    position: absolute;
    right: 25px;
    bottom: 22px;
    text-align: center;
    border: 1px solid #7da58a;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: grid;
    align-content: center;
    font-size: 9px;
    letter-spacing: 2px;
    color: #c8dfca
}

.reflection-form {
    padding: 34px
}

.prompt-box {
    background: #f0f2e9;
    border-radius: 8px;
    padding: 18px;
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.4;
    color: #385a46
}

.small {
    font-size: 11px
}

.history-section {
    padding: 25px 0 80px
}

.history-section h2 {
    font-size: 28px
}

.history-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 20px;
    margin: 12px 0
}

.history-card>div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px
}

.history-card small {
    font-size: 11px;
    color: var(--muted)
}

.history-card>b {
    font-size: 14px
}

.history-card p {
    font-size: 13px;
    color: var(--muted)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 12px 0 50px
}

.stat-card {
    background: #e5efe7;
    border-radius: 10px;
    padding: 22px
}

.stat-card span {
    display: block;
    color: #607369;
    font-size: 12px
}

.stat-card b {
    font-size: 36px;
    letter-spacing: -1px
}

.urgent-stat {
    background: #fbe8de
}

.urgent-stat b {
    color: #a4442c
}

.staff-section {
    margin: 40px 0 60px
}

.staff-section .section-head {
    margin-bottom: 18px
}

.staff-section .section-head h2 {
    font-size: 30px
}

.staff-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 23px;
    margin: 12px 0
}

.staff-card.border-danger {
    border-color: #e7a18c;
    box-shadow: 0 0 0 2px #fff0e9
}

.staff-card-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start
}

.staff-card h3 {
    margin: 7px 0 3px;
    font-size: 17px
}

.staff-card small {
    color: var(--muted);
    font-size: 11px
}

.staff-description {
    white-space: normal;
    font-size: 13px;
    color: #5f6c64;
    background: #f7f7f2;
    padding: 15px;
    border-radius: 7px
}

.inline-update {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    gap: 10px;
    align-items: center
}

.inline-update input,
.inline-update select {
    margin: 0
}

.empty-state {
    background: white;
    border: 1px dashed #cbd8cd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--muted);
    font-size: 13px
}

@media(max-width:850px) {
    .nav {
        gap: 13px
    }

    .hero {
        min-height: 500px;
        gap: 25px
    }

    .hero h1 {
        font-size: 55px
    }

    .hero-art {
        min-height: 340px
    }

    .art-card {
        min-width: 190px;
        padding: 23px
    }

    .art-card h3 {
        font-size: 28px
    }

    .culture-band {
        grid-template-columns: 50px 1fr
    }

    .culture-band .text-link {
        grid-column: 2
    }

    .lesson-layout {
        grid-template-columns: 150px 1fr;
        gap: 25px
    }

    .auth-wrap {
        grid-template-columns: 1fr 390px;
        gap: 30px
    }

    .auth-intro h1 {
        font-size: 48px
    }

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

    .footer small {
        grid-column: 1/-1
    }

    .inline-update {
        grid-template-columns: 1fr 1fr
    }

    .inline-update button {
        justify-self: start
    }
}

@media(max-width:650px) {
    .topbar {
        height: 72px;
        padding: 0 20px
    }

    .menu-toggle {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 71px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 18px 22px 24px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 20px #263d2810;
        align-items: stretch;
        flex-direction: column;
        gap: 15px
    }

    .nav.nav-open {
        display: flex
    }

    .nav-user {
        border: 0;
        padding: 0
    }

    .container {
        padding: 0 20px
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 55px 0 50px;
        gap: 36px
    }

    .hero h1 {
        font-size: 53px;
        letter-spacing: -2.7px
    }

    .hero-copy>p {
        font-size: 14px
    }

    .hero-art {
        min-height: 350px
    }

    .art-card {
        width: 60%
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 30px
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 55px
    }

    .feature-card {
        min-height: 0;
        padding: 24px
    }

    .feature-icon {
        margin-bottom: 15px
    }

    .feature-card p {
        min-height: 0
    }

    .culture-band {
        grid-template-columns: 1fr;
        padding: 27px;
        gap: 8px;
        margin-bottom: 45px
    }

    .culture-symbol {
        font-size: 60px
    }

    .culture-band .text-link {
        grid-column: auto
    }

    .help-strip {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 0 45px
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 22px
    }

    .footer small {
        grid-column: auto
    }

    .page-hero {
        padding: 50px 0 28px
    }

    .page-hero h1,
    .page-hero.compact h1 {
        font-size: 44px;
        letter-spacing: -2px
    }

    .lesson-layout {
        display: block;
        padding-bottom: 50px
    }

    .lesson-aside {
        position: static;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 35px;
        border: 0;
        padding: 0;
        gap: 8px
    }

    .lesson-aside b {
        width: 100%
    }

    .lesson-aside a {
        padding: 6px 9px;
        background: #edf1e9;
        border-radius: 5px;
        font-size: 11px
    }

    .lesson {
        grid-template-columns: 30px 1fr;
        gap: 13px;
        padding-bottom: 28px;
        margin-bottom: 28px
    }

    .lesson h2 {
        font-size: 23px
    }

    .lesson p {
        font-size: 13px
    }

    .mini-grid,
    .value-pair {
        grid-template-columns: 1fr
    }

    .auth-wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 45px auto 60px;
        gap: 30px
    }

    .auth-intro h1 {
        font-size: 47px
    }

    .auth-quote {
        margin-top: 22px
    }

    .form-card,
    .form-card.wide,
    .reflection-form {
        padding: 23px
    }

    .form-columns,
    .reflection-wrap {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-bottom: 55px
    }

    .side-note {
        padding: 23px
    }

    .reflection-visual {
        min-height: 300px;
        padding: 26px
    }

    .reflection-visual h2 {
        font-size: 31px
    }

    .reflection-stamp {
        width: 90px;
        height: 90px;
        font-size: 8px
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 35px
    }

    .stat-card {
        padding: 15px 19px;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .stat-card b {
        font-size: 28px
    }

    .staff-section .section-head {
        gap: 8px
    }

    .staff-card {
        padding: 16px
    }

    .staff-card-head {
        flex-direction: column;
        gap: 9px
    }

    .inline-update {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .inline-update button {
        width: 100%
    }

    .history-card {
        padding: 15px
    }

    .history-card>div {
        gap: 10px
    }

    .help-strip .btn {
        width: 100%
    }
}