:root {
  --paper: #fbf7ef;
  --paper-deep: #efe5d6;
  --ink: #24211d;
  --muted: #6f685d;
  --soft: #9c9284;
  --line: #ded2c1;
  --sage: #758465;
  --sage-soft: #e4eadf;
  --clay: #af6b46;
  --clay-soft: #f0ded0;
  --sky: #8299a5;
  --white: #fffdf8;
  --font-round: 'NanumSquareRound', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
  --font-body: 'Pretendard', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
}

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

.page {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(251, 247, 239, 0.88);
  border-bottom: 1px solid rgba(222, 210, 193, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--clay);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
}

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

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(46px, 8vw, 96px) clamp(20px, 6vw, 88px) 56px;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-round);
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-copy {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.45vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.studio-board {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.board-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.board-note span:first-child {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

.board-note span:last-child {
  font-size: 15px;
  color: var(--muted);
}

.board-image {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 8px 32px rgba(36, 33, 29, 0.10);
  aspect-ratio: 1 / 1;
}

.board-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 88px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.section.tight {
  padding-top: 56px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section h2 {
  margin: 0;
  font-family: var(--font-round);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 24px;
}

.panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-round);
  font-size: 18px;
}

.panel p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
}

.work-panel {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-preview {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.app-row {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.app-row:nth-child(2) {
  width: 86%;
}

.app-row:nth-child(3) {
  width: 72%;
}

.channel-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.channel-visual {
  height: 150px;
  margin: -24px -24px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--sage-soft);
  position: relative;
}

.channel-visual.vlog {
  background:
    linear-gradient(160deg, rgba(130, 153, 165, 0.45), transparent 56%),
    #efe5d6;
}

.channel-visual.farm {
  background:
    linear-gradient(160deg, rgba(117, 132, 101, 0.55), transparent 58%),
    #e7e1d3;
}

.channel-visual::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  height: 1px;
  background: rgba(36, 33, 29, 0.24);
  box-shadow: 0 -28px 0 rgba(36, 33, 29, 0.10), 0 -56px 0 rgba(36, 33, 29, 0.07);
}

.channel-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--clay);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
  padding: 28px;
}

.contact-strip p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-family: var(--font-body);
}

.contact-strip a {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 6vw, 88px);
  color: var(--soft);
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .studio-board {
    max-width: 520px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── 가이드 / 문서 페이지 ── */
.doc {
  max-width: 768px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 6vw, 40px) 96px;
}

.crumb {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 18px;
}

.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--ink); }

.doc h1 {
  font-family: var(--font-round);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.doc .lead {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 28px;
}

.doc h2 {
  font-family: var(--font-round);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  margin: 38px 0 10px;
}

.doc h3 {
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.doc p,
.doc li {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.8;
}

.doc p { margin: 12px 0; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 7px 0; }

.doc .note {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 14.5px;
}

.doc .note strong { color: var(--clay); }

.doc .steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.doc .steps li {
  position: relative;
  padding-left: 42px;
  margin: 14px 0;
}

.doc .steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

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

.guide-cards a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 20px;
}

.guide-cards a:hover { border-color: var(--clay); }

.guide-cards h3 {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--ink);
}

.guide-cards p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.faq-q {
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 30px 0 8px;
}

.faq-a {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.8;
}

.faq-a + .faq-a { margin-top: 10px; }

/* ── FAQ 카드 아코디언 (클릭하면 펼쳐짐) ── */
.faq-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-card:hover { border-color: var(--clay); }

.faq-card summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--font-round);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-card summary::-webkit-details-marker { display: none; }

.faq-card summary::after {
  content: "+";
  color: var(--clay);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.faq-card[open] summary::after { content: "−"; }
.faq-card[open] summary { border-bottom: 1px solid var(--line); }

.faq-card .faq-body {
  padding: 16px 20px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.faq-card .faq-body a { color: var(--clay); font-weight: 700; }

.doc-foot {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}

.doc-foot a { color: var(--clay); font-weight: 700; }

.post-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--soft);
  margin: -4px 0 26px;
}

.post-list a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.post-list a:hover {
  border-color: var(--clay);
  box-shadow: 0 6px 20px rgba(36, 33, 29, 0.06);
}

.post-list h3 {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 5px;
  color: var(--ink);
  line-height: 1.3;
}

.post-list .when {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--soft);
}

.post-list p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list .more {
  display: inline-block;
  margin-top: 12px;
  color: var(--clay);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13.5px;
}

/* ── 페이지 넘김 (번호식) ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}

.pagination a:hover {
  border-color: var(--clay);
  color: var(--clay);
}

.pagination .current {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.pagination .disabled {
  color: var(--soft);
  opacity: 0.45;
}

@media (max-width: 680px) {
  .guide-cards { grid-template-columns: 1fr; }
}

