@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --green: #0a9a5b;
    --green-dark: #007c49;
    --green-deep: #006a40;
    --mint: #eaf8f2;
    --text: #1f1f23;
    --muted: #666a70;
    --line: #e8ece9;
    --footer: #f4f4f4;
    --white: #fff;
    --shadow: 0 22px 50px rgba(15, 65, 43, 0.12);
    --container: 1640px;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55;
    word-break: keep-all;
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

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

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 286px;
    height: auto;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 43px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 125, 73, 0.16);
}

.btn-sm {
    min-width: 91px;
    height: 42px;
    padding: 0 20px;
    font-size: 15px;
    border-radius: 24px;
}

.btn-lg {
    min-width: 184px;
    height: 56px;
    padding: 0 26px;
    font-size: 17px;
}

.btn-primary {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.btn-outline {
    color: #26282a;
    background: #fff;
    border-color: var(--green);
}

.btn-white {
    min-width: 172px;
    height: 42px;
    padding: 0 26px;
    color: #333;
    background: #fff;
    border-color: #fff;
    border-radius: 6px;
    font-size: 16px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #222;
    border-radius: 99px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: linear-gradient(90deg, #fff 0%, #fff 44%, #f8fffc 100%);
}

.hero-visual {
    position: absolute;
    inset: 0 120px 0 auto;
    width: min(78vw, 1280px);
    background: url('../images/main-banner.png') no-repeat right top / contain;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: 550px;
    max-width: 54%;
    padding-top: 24px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--green);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.hero h1 strong {
    color: var(--green);
    font-weight: inherit;
}

.hero-desc {
    margin: 26px 0 48px;
    color: #303238;
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: -0.03em;
}

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

.section {
    padding: 88px 0 60px;
}

.section-head {
    margin-bottom: 26px;
}

.section-head h2,
.board-head h2,
.join-copy h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.section-head p {
    margin: 10px 0 0;
    color: #333840;
    font-size: 18px;
    letter-spacing: -0.03em;
}

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

.field-card {
    position: relative;
    min-height: 324px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
    isolation: isolate;
    background: #ddd;
}

.field-card img {
    width: 100%;
    height: 100%;
    min-height: 324px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.field-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 25%, rgba(0, 0, 0, 0.72) 100%);
}

.field-card:hover img {
    transform: scale(1.045);
}

.field-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 23px;
    z-index: 2;
    color: #fff;
}

.field-overlay h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.field-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.join-cta {
    padding: 28px 0 72px;
}

.join-box {
    position: relative;
    min-height: 159px;
    display: grid;
    grid-template-columns: 300px 1fr 250px;
    align-items: center;
    gap: 24px;
    padding: 26px 50px;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #3dbb58 0%, #009764 100%);
}

.join-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/green-cta-bg.jpg') center / cover no-repeat;
    opacity: 0.22;
}

.join-box > * {
    position: relative;
    z-index: 1;
}

.join-copy p {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.join-copy h2 {
    font-size: 33px;
    color: #fff;
}

.join-steps {
    min-width: 0;
}

.join-step-list {
    width: min(100%, 780px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(20px, 2.2vw, 36px);
    align-items: start;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    color: #fff;
    font-size: 14px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
}

.join-step-list li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 0;
}

.join-step-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(clamp(20px, 2.2vw, 36px) / -2 - 16px);
    width: 32px;
    height: 112px;
    background: url('../images/join-step-arrow.png') center / contain no-repeat;
}

.join-step-list img {
    width: 112px;
    height: 112px;
}

.join-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.join-action .btn-white {
    min-width: 210px;
    height: 56px;
    font-size: 17px;
    border-radius: 10px;
}

.join-action p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.board {
    padding-top: 30px;
    padding-bottom: 90px;
}

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

.board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.board-head h2 {
    font-size: 32px;
}

.board-head a {
    color: #2a2d31;
    font-size: 15px;
    font-weight: 600;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-list li {
    display: grid;
    grid-template-columns: 1fr 112px;
    align-items: center;
    gap: 18px;
    min-height: 42px;
    font-size: 15px;
    letter-spacing: -0.03em;
}

.post-list a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-list a:hover,
.post-list a:focus-visible {
    color: var(--green);
}

.post-list time {
    color: #1f252b;
    font-size: 15px;
    text-align: right;
}

.tag {
    font-weight: 800;
    margin-right: 4px;
}

.tag.orange {
    color: #ff9e00;
}

.tag.blue {
    color: #236cdf;
}

.tag.green {
    color: #17a569;
}

.site-footer {
    padding: 55px 0 42px;
    background: var(--footer);
}

.footer-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 46px;
    align-items: start;
}

.footer-logo img {
    width: 240px;
}

.footer-info {
    color: #3b3d40;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: -0.03em;
}

.footer-info p {
    margin: 0 0 2px;
}

.footer-info .copyright {
    margin-top: 22px;
}

.scroll-top {
    position: fixed;
    right: 26px;
    bottom: 24px;
    z-index: 40;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    box-shadow: 0 12px 28px rgba(0, 125, 73, 0.22);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-main {
    min-height: 56vh;
    padding: 100px 0;
}

.placeholder-card {
    padding: 58px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.placeholder-card h1 {
    margin: 0 0 16px;
    font-size: 42px;
    letter-spacing: -0.05em;
}

.placeholder-card p {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 18px;
}

@media (max-width: 1180px) {
    :root {
        --container: 980px;
    }

    .header-inner {
        gap: 26px;
    }

    .brand img {
        width: 250px;
    }

    .main-nav {
        gap: 28px;
    }

    .hero-copy {
        max-width: 52%;
    }

    .join-box {
        grid-template-columns: 245px 1fr;
    }

    .join-action {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
}

@media (max-width: 980px) {
    .container {
        width: min(calc(100% - 36px), var(--container));
    }

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

    .brand img {
        width: 235px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav,
    .header-actions {
        position: fixed;
        left: 18px;
        right: 18px;
        background: #fff;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .main-nav {
        top: 88px;
        display: grid;
        gap: 0;
        margin: 0;
        padding: 18px 24px;
        border-radius: 20px 20px 0 0;
    }

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

    .header-actions {
        top: 370px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 24px 22px;
        border-radius: 0 0 20px 20px;
    }

    body.nav-open .main-nav,
    body.nav-open .header-actions {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .hero {
        min-height: auto;
        padding: 78px 0 420px;
    }

    .hero-visual {
        width: min(100% - 36px, 820px);
        height: 500px;
        inset: auto 18px 0 auto;
        background-position: right bottom;
    }

    .hero-inner {
        min-height: auto;
        display: block;
    }

    .hero-copy {
        width: 100%;
        max-width: 640px;
        padding-top: 0;
    }

    .field-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .field-card,
    .field-card img {
        min-height: 420px;
    }

    .join-box {
        grid-template-columns: 1fr;
        padding: 34px 28px;
        text-align: center;
    }

    .join-action {
        grid-column: auto;
        justify-content: center;
        align-items: center;
    }

    .board-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .brand img {
        width: 206px;
    }

    .header-actions {
        grid-template-columns: 1fr;
        top: 370px;
    }

    .hero {
        padding: 50px 0 320px;
    }

    .hero-visual {
        width: 680px;
        height: 400px;
        right: -160px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-desc {
        margin: 20px 0 30px;
        font-size: 15px;
    }

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

    .btn-lg {
        width: 100%;
    }

    .section {
        padding: 68px 0 40px;
    }

    .section-head h2,
    .board-head h2,
    .join-copy h2 {
        font-size: 28px;
    }

    .section-head p {
        font-size: 16px;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .field-card,
    .field-card img {
        min-height: 440px;
    }

    .join-cta {
        padding-bottom: 48px;
    }

    .join-copy p {
        font-size: 16px;
    }

    .join-step-list {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        row-gap: 20px;
        font-size: 11px;
    }

    .join-step-list li {
        gap: 8px;
    }

    .join-step-list li:not(:last-child)::after {
        content: none;
    }

    .join-step-list img {
        width: 86px;
        height: 86px;
    }

    .join-action {
        flex-direction: column;
    }

    .post-list li {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
    }

    .post-list a {
        white-space: normal;
    }

    .post-list time {
        text-align: left;
        color: var(--muted);
        font-size: 13px;
    }

    .site-footer {
        padding: 40px 0;
    }

    .footer-info {
        font-size: 13px;
    }

    .placeholder-card {
        padding: 32px 24px;
    }

    .placeholder-card h1 {
        font-size: 32px;
    }
}
