:root {
  --primary: #33691E;
  --accent: #DCE775;
  --bg: #F9FBE7;
  --text: #21301a;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Jua', sans-serif;
  font-weight: 400;
  line-height: 1.4;
}

a { color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid rgba(51,105,30,0.15);
  position: relative;
  z-index: 20;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Jua', sans-serif;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.site-nav { margin-left: auto; }

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.nav-toggle-label span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 4px;
}

.site-nav a:hover { color: var(--primary); }

@media (max-width: 760px) {
  .site-nav ul { flex-direction: column; gap: 2px; padding: 10px 0 4px; }
}

@media (min-width: 761px) {
  .mobile-nav summary { display: none; }
  .mobile-nav:not([open]) > *:not(summary) { display: block; }
  .site-nav ul { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 56px 20px 96px;
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 16px;
}

.hero p {
  font-size: 1.05rem;
  margin: 0 0 28px;
  color: #f0f6df;
}

.hero-curve {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
  z-index: 1;
}

.hero-curve svg { width: 100%; height: 70px; display: block; }

/* ---------- Buttons (arrow bottom-left) ---------- */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px 16px 42px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta .arrow {
  position: absolute;
  left: 12px;
  bottom: 10px;
  display: inline-flex;
}

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

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
  .cta:hover { transform: none; }
}

.cta--hero {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.cta--call {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(51,105,30,0.28);
}

.cta--sms {
  background: var(--accent);
  color: #24390f;
  box-shadow: 0 6px 16px rgba(220,231,117,0.5);
}

/* ---------- Main content ---------- */
main {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 10px;
}

.content-section {
  margin-bottom: 32px;
  padding: 28px 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(51,105,30,0.1);
}

h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.h2-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  flex-shrink: 0;
}

p { margin: 0 0 14px; }

/* checklist */
.checklist {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--accent);
  border: 2px solid var(--primary);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 4px; top: 6px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* case box */
.case-box {
  border-left: 4px solid var(--primary);
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.case-title {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 6px;
}

/* table */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(51,105,30,0.15);
  font-size: 0.95rem;
}

thead th {
  background: var(--primary);
  color: #fff;
}

thead th:first-child { border-top-left-radius: 10px; }
thead th:last-child { border-top-right-radius: 10px; }

tbody th { font-weight: 500; color: var(--primary); }

/* timeline */
.timeline {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border-left: 3px solid var(--accent);
}

.timeline li {
  position: relative;
  padding: 4px 0 18px 24px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--primary);
}

.step {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  margin-right: 8px;
}

/* callout */
.callout {
  background: var(--bg);
  border: 1px solid rgba(51,105,30,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.callout p:last-child { margin-bottom: 0; }

/* faq */
.faq details {
  border-bottom: 1px solid rgba(51,105,30,0.15);
  padding: 12px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--primary);
}

.faq p { margin: 10px 0 0; }

/* figures */
.shot {
  margin: 24px auto;
  max-width: 900px;
}

.shot img {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(51,105,30,0.15);
}

.shot figcaption {
  font-size: 0.85rem;
  color: #4a5c40;
  margin-top: 8px;
  text-align: center;
}

/* cta block / links block */
.cta-block, .links-block {
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(51,105,30,0.1);
}

.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Jua', sans-serif;
  color: var(--primary);
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.links-list a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid rgba(51,105,30,0.2);
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
}

.links-list a:hover { background: var(--accent); }

/* footer */
footer {
  background: var(--primary);
  color: #eef5e2;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
}

footer address { font-style: normal; line-height: 1.8; }

footer a {
  color: #fff;
  text-decoration: underline;
}

footer small {
  display: block;
  margin-top: 14px;
  opacity: 0.85;
}

@media (max-width: 400px) {
  .hero { padding: 44px 16px 84px; }
  .content-section, .cta-block, .links-block { padding: 20px 16px; }
}
