:root { --green: #03c75a; --green-dark: #02b350; --bg: #f2f4f7; --line: #e5e8eb; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; color: #1e1e23; background: var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.inner { width: 1100px; max-width: 100%; margin: 0 auto; padding: 0 20px; }

/* header */
#header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 10; }
#header .top { display: flex; align-items: center; gap: 30px; height: 76px; }
.logo { font-size: 28px; font-weight: 900; color: var(--green); letter-spacing: -1px; }

.search { flex: 1; display: flex; max-width: 560px; margin: 0 auto; border: 2px solid var(--green); border-radius: 4px; overflow: hidden; }
.search input { flex: 1; border: 0; outline: 0; padding: 0 16px; height: 44px; font-size: 16px; }
.search button { width: 70px; border: 0; background: var(--green); color: #fff; font-size: 15px; cursor: pointer; }
.search button:hover { background: var(--green-dark); }

.login-btn { padding: 8px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.login-btn:hover { border-color: var(--green); color: var(--green); }

#nav { border-top: 1px solid var(--line); }
#nav ul { display: flex; gap: 8px; height: 46px; align-items: center; }
#nav a { display: block; padding: 6px 14px; border-radius: 16px; font-size: 15px; font-weight: bold; }
#nav a:hover { background: #e6f9ee; color: var(--green); }

/* hero */
.hero { padding: 90px 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--green), #00a84c); }
.hero h1 { font-size: 38px; margin-bottom: 12px; }

/* cards */
.layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; padding-bottom: 50px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card.wide { grid-column: 1 / -1; }
.card h2 { font-size: 20px; margin-bottom: 18px; padding-left: 10px; border-left: 4px solid var(--green); line-height: 1.1; }

.about-box { display: flex; gap: 24px; align-items: center; }
.profile-img { flex: none; width: 120px; height: 120px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; color: #888; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { padding: 8px 16px; border-radius: 20px; background: #e6f9ee; color: var(--green-dark); font-weight: bold; }

.tile-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile-list li { padding: 50px 20px; text-align: center; background: var(--bg); border-radius: 10px; }
.tile-list li:hover { box-shadow: 0 0 0 2px var(--green) inset; }

/* footer */
#footer { padding: 28px 0; text-align: center; background: #fff; border-top: 1px solid var(--line); color: #888; font-size: 14px; }

@media (max-width: 800px) {
    #header .top { gap: 12px; height: 64px; }
    .login-btn { display: none; }
    .layout { grid-template-columns: 1fr; }
    .tile-list { grid-template-columns: 1fr; }
    .about-box { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 28px; }
}
