:root{
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5b5b5b;
  --accent: #2d6a4f;
  --accent-2: #f4a261;
  --border: #e3ded1;
  --shadow: 0 6px 18px rgba(0,0,0,0.08);
  --radius: 14px;
  --maxw: 1100px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, #f9efe2, transparent), var(--bg);
  line-height: 1.55;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

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

header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
}
.brand img{
  height: 36px;
  width: auto;
  display:block;
}

.nav{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav a{
  padding: 6px 10px;
  border-radius: 999px;
}

.nav a[aria-current="page"]{
  background: var(--accent);
  color: #fff;
}
.footer-nav a[aria-current="page"]{
  background: transparent;
  color: inherit;
  font-weight: 700;
}

main{
  padding: 28px 0 44px;
}

.hero{
  display:grid;
  gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero h1{
  font-size: clamp(24px, 3vw, 36px);
  margin: 0;
}

.hero p{
  margin: 0;
  color: var(--muted);
}

.cards{
  display:grid;
  gap: 16px;
  margin-top: 20px;
}

.card{
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display:grid;
  gap: 10px;
}

.card h3{margin:0;}
.card p{margin:0;color:var(--muted);}

.cta{
  display:inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.section{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 18px;
}

form{
  display:grid;
  gap: 12px;
}

label{
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="number"],
input[type="date"],
select{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
}

input[type="number"]{
  appearance: textfield;
}

input[type="checkbox"], input[type="radio"]{
  transform: translateY(1px);
}

button{
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

button.secondary{
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

button.ghost{
  background: transparent;
  color: var(--text);
  border: 1px dashed var(--border);
}

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

.notice{
  color: var(--muted);
  font-size: 13px;
}

.table{
  width:100%;
  border-collapse: collapse;
}

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

.table th{font-size: 13px;color: var(--muted);}

.grid-2{
  display:grid;
  gap: 12px;
}

.ad-slot{
  margin: 14px 0;
  border: 1px dashed var(--border);
  background: #fffaf0;
  min-height: 90px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--muted);
  font-size: 12px;
  display: none;
}

footer{
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 720px){
  .cards{grid-template-columns: repeat(3, 1fr);}
  .grid-2{grid-template-columns: repeat(2, 1fr);}
  .ad-slot{min-height: 250px;}
}
