:root {
  --color-1: #FFFDF7;
  --color-2: #4A4238;
  --color-3: #C2703D;
  --color-4: #7D8471;
  --color-5: #E8E1D5;
  --font-display: 'Cute Font', system-ui, -apple-system, "Malgun Gothic", sans-serif;
  --font-body: 'Nanum Gothic', system-ui, -apple-system, "Malgun Gothic", sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-1);
  color: var(--color-2);
}

h1, h2 { font-family: var(--font-display); color: var(--color-2); font-size: 2.3rem; font-weight: 400; }
h3 { font-family: var(--font-body); font-weight: 700; }

.logo { font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; color: var(--color-2); }
header.site-header { background: var(--color-5); }
header.site-header nav a { text-decoration: none; color: var(--color-2); }
.nav-toggle {
  background: var(--color-3);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

section.hero { background: var(--color-1); border-bottom: 2px dashed var(--color-3); }
section.hero h1 { margin: 0 0 1rem; }
section.hero p { max-width: 620px; margin: 0 0 1.75rem; }

.tel-button {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  background: var(--color-3);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 14px;
  border: 2px dashed var(--color-1);
  outline: 2px solid var(--color-3);
}

/* tool list sidebar + step-by-step body */
.body-layout {
  max-width: 1050px;
  margin-inline: auto;
  padding: 3rem 1.25rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}
.tool-list {
  position: sticky;
  top: 1rem;
  background: var(--color-5);
  border-radius: 12px;
  padding: 1.25rem;
}
.tool-list-title { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.75rem; }
.tool-list ul { list-style: none; padding: 0; margin: 0; }
.tool-list li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  border-bottom: 1px dashed var(--color-4);
}
.tool-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  background: var(--color-3);
  border-radius: 2px;
}

.content-col { max-width: 720px; }
.content-col h2 { margin-top: 3rem; }
.content-col h2:first-of-type { margin-top: 0; }
.content-col h3 { margin-top: 1.5rem; color: var(--color-3); }

@media (max-width: 640px) {
  .body-layout { grid-template-columns: 1fr; }
  .tool-list { position: static; }
}

/* comparison table, responsive card stack under 640px */
.table-wrap { overflow-x: visible; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
thead th { background: var(--color-2); color: #fff; text-align: left; padding: 0.75rem; }
tbody td { padding: 0.75rem; border-bottom: 1px solid var(--color-5); }
tbody tr:nth-child(even) { background: var(--color-1); }
td.yes { color: #2f6b3a; font-weight: 700; }
td.partial { color: var(--color-3); font-weight: 700; }
td.no { color: #a3311c; font-weight: 700; }

@media (max-width: 640px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead { display: none; }
  tbody tr {
    margin-bottom: 1rem;
    border: 1px solid var(--color-5);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
  }
  tbody td { border-bottom: none; padding: 0.35rem 0; }
  tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    color: var(--color-4);
  }
}

section.reviews { background: var(--color-5); }
blockquote.review {
  background: #ffffff;
  border-radius: 12px;
  border: 1px dashed var(--color-3);
}
blockquote.review p { margin: 0 0 0.5rem; }
blockquote.review cite { font-style: normal; font-size: 0.85rem; color: var(--color-4); }

section.related ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
section.related a { text-decoration: none; color: var(--color-3); font-weight: 700; }

section.cta { background: var(--color-2); color: var(--color-1); }
section.cta .cta-heading { color: var(--color-1); margin-top: 0; }

footer.site-footer { background: var(--color-1); color: var(--color-2); border-top: 2px dashed var(--color-3); }
footer.site-footer a { text-decoration: none; color: var(--color-2); }

/* single animation: tool list items pop in */
@keyframes diy-pop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.tool-list li { animation: diy-pop 0.35s ease-out both; }
