/* ============================================================
   Landly components.css — 헤더/버튼/카드/벤토/폼/푸터 등
   ============================================================ */

/* ---- 스크롤 진행바 (상단 1px) ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--brass);
  z-index: 100;
  transition: width 0.08s linear;
}

/* ---- 사이트 헤더 (스티키 딥그린) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--pine);
  color: var(--on-pine);
  border-bottom: 1px solid var(--on-pine-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--on-pine);
}
.brand img { width: 40px; height: 40px; align-self: center; }
.brand .tld { color: var(--brass); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--on-pine-2);
  transition: color var(--dur) var(--ease);
}
.nav-link:hover { color: var(--on-pine); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--on-pine); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--on-pine);
  border-radius: var(--radius-sm);
}

/* 모바일 드로어 */
.drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px 22px;
  background: var(--pine);
  border-top: 1px solid var(--on-pine-line);
}
.drawer.is-open { display: flex; }
.drawer a {
  padding: 12px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--on-pine-2);
  border-bottom: 1px solid var(--on-pine-line);
}
.drawer a.is-active { color: var(--on-pine); }
.drawer__cta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: none !important;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---- 버튼 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--pine);
  color: var(--on-pine);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow); }

.btn-brass {
  background: var(--brass);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-brass:hover { box-shadow: var(--shadow-brass); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

/* 다크 섹션 위 고스트 버튼 */
.section-pine .btn-ghost,
.btn-ghost-onpine {
  color: var(--on-pine);
  border-color: var(--on-pine-line);
  background: transparent;
}
.section-pine .btn-ghost:hover,
.btn-ghost-onpine:hover {
  border-color: var(--on-pine);
  background: rgba(244, 241, 234, 0.06);
}

.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* 링크(밑줄 draw) */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brass-2);
  background-image: linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size var(--dur) var(--ease);
  padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }
.link-underline svg { width: 1em; height: 1em; }

/* ---- 칩 / 뱃지 ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  background: var(--pine-soft);
  color: var(--pine);
  border: 1px solid var(--pine-line);
}
.chip svg { width: 14px; height: 14px; }
.chip--brass {
  background: var(--brass-soft);
  color: var(--brass-2);
  border-color: var(--brass-line);
}
.chip--onpine {
  background: rgba(244, 241, 234, 0.08);
  color: var(--on-pine);
  border-color: var(--on-pine-line);
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}

/* ---- 카드 ---- */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card--hover:hover {
  border-color: var(--brass-line);
  box-shadow: var(--shadow);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--pine-soft);
  color: var(--pine);
  margin-bottom: var(--space-4);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--brass { background: var(--brass-soft); color: var(--brass-2); }
.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.card__desc { font-size: 0.95rem; color: var(--ink-2); line-height: 1.7; }

/* 카드 내 체크 리스트 */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
}
.check-list svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brass);
}
.section-pine .check-list li { color: var(--on-pine-2); }
.section-pine .check-list svg { color: var(--brass); }

/* ---- 벤토 그리드 ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
}
.bento__cell {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.bento__cell:hover { border-color: var(--brass-line); box-shadow: var(--shadow-sm); }
.bento__cell--feature {
  background: var(--pine);
  color: var(--on-pine);
  border-color: var(--pine);
}
.bento__cell--feature .card__desc,
.bento__cell--feature .muted { color: var(--on-pine-2); }
.bento__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brass-2);
  letter-spacing: 0.04em;
}
.bento__cell--feature .bento__num { color: var(--brass); }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__cell--feature { grid-column: span 2; grid-row: span 2; }
}

/* ---- 지표(metric) ---- */
.metric-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.metric { text-align: left; }
.metric .metric-num { color: var(--brass); }
.section-pine .metric .metric-num { color: var(--brass); }
.metric__label {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.section-pine .metric__label { color: var(--on-pine-2); }
.metric__divider { display: none; }
@media (min-width: 768px) {
  .metric-strip {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
  .metric-strip--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- 요금제 카드 ---- */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}
.plan-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.plan-card--hover:hover { border-color: var(--brass-line); box-shadow: var(--shadow-sm); }
.plan-card--featured {
  background: var(--pine);
  color: var(--on-pine);
  border-color: var(--pine);
  box-shadow: var(--shadow-lg);
}
.plan-card__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--pine);
}
.plan-card--featured .plan-card__name { color: var(--brass); }
.plan-card__tagline {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px;
  margin-bottom: var(--space-3);
}
.plan-card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.plan-card--featured .plan-card__desc { color: var(--on-pine-2); }
.plan-card__ribbon {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--brass);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brass);
  white-space: nowrap;
}
.plan-hr {
  height: 1px;
  background: var(--line);
  border: none;
  margin-block: var(--space-5);
}
.plan-card--featured .plan-hr { background: var(--on-pine-line); }
.plan-sublabel {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--space-3);
}
.plan-card--featured .plan-sublabel { color: var(--on-pine-3); }
.plan-card .btn { margin-top: var(--space-6); }

/* ---- 비교표 ---- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
}
.compare thead th {
  background: var(--pine);
  color: var(--on-pine);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 14px;
  text-align: center;
  border-left: 1px solid var(--on-pine-line);
}
.compare thead th:first-child {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-pine-2);
  border-left: none;
}
.compare thead th small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--on-pine-2);
  margin-top: 3px;
}
.compare thead th.is-featured { background: var(--pine-2); }
.compare thead th.is-featured .plan-n { color: var(--brass); }
.compare tbody td {
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.compare tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  border-left: none;
}
.compare tbody tr:nth-child(even) { background: rgba(228, 222, 212, 0.22); }
.compare td.is-featured { background: var(--pine-soft); }
.cell-yes { color: var(--pine); display: inline-flex; }
.cell-yes svg { width: 17px; height: 17px; }
.cell-no { color: var(--line-strong); display: inline-flex; }
.tag-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.tag-mini svg { width: 11px; height: 11px; }
.tag-mini--case { background: var(--brass-soft); color: var(--brass-2); }
.tag-mini--full { background: var(--pine-soft); color: var(--pine); }

/* ---- 폼 ---- */
.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 560px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: var(--space-5); }
.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.field__label .req { color: var(--brass-2); }
.field__hint { font-weight: 400; color: var(--ink-2); font-size: 0.82rem; }
.input, .textarea, .select {
  width: 100%;
  padding: 13px 15px;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #A8A199; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 134, 67, 0.14);
}
.textarea { resize: vertical; min-height: 110px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* pill (선택 버튼 그룹) */
.pill-group { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: all var(--dur) var(--ease);
}
.pill:hover { border-color: var(--brass-line); color: var(--ink); }
.pill.is-selected {
  background: var(--pine);
  color: var(--on-pine);
  border-color: var(--pine);
}
/* 체크박스 pill (복수 선택) */
.pill-check {
  cursor: pointer;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: all var(--dur) var(--ease);
  user-select: none;
}
.pill-check:hover { border-color: var(--brass-line); color: var(--ink); }
.pill-check.is-selected {
  background: var(--brass-soft);
  color: var(--brass-2);
  border-color: var(--brass);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.form-alert {
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: rgba(176, 74, 62, 0.08);
  color: var(--danger);
  border: 1px solid rgba(176, 74, 62, 0.25);
  margin-bottom: var(--space-5);
}

/* ---- 명세서 리포트 카드 (히어로 목업) ---- */
.report {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.report__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.report__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.report__meta { font-size: 0.78rem; color: var(--ink-2); }
.report__body { padding: 8px 22px 20px; }
.report__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.report__row:last-child { border-bottom: none; }
.report__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}
.report__val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--ok { background: var(--success); }
.dot--warn { background: var(--warning); }
.dot--danger { background: var(--danger); }
.dot--info { background: var(--brass); }
.dot--mute { background: var(--line-strong); }
.report__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--pine-soft);
  border-top: 1px solid var(--pine-line);
  font-size: 0.85rem;
  color: var(--pine);
}
.report__foot svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--pine); }
.report__stamp {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-2);
}

/* ---- 플로우 스텝 (01/02/03) ---- */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow__step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--paper-2);
}
.flow__step--dark {
  background: var(--pine);
  color: var(--on-pine);
  border-color: var(--pine);
}
.flow__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-5); }
.flow__no {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brass-2);
  background: var(--brass-soft);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.flow__step--dark .flow__no { color: var(--brass); background: rgba(169, 134, 67, 0.16); }
.flow__role {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.flow__role b { font-family: var(--font-display); font-weight: 600; color: var(--brass-2); }
.flow__step--dark .flow__role b { color: var(--brass); }

/* ---- 인용(후기) ---- */
.quote {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.7;
  color: var(--brass);
  opacity: 0.55;
}
.quote__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 10px 0 18px;
}
.quote__who { font-weight: 600; font-size: 0.92rem; }
.quote__meta { font-size: 0.82rem; color: var(--ink-2); }

/* ---- 업무 탭 (delegate) ---- */
.task-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-bottom: var(--space-7);
}
.task-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: all var(--dur) var(--ease);
}
.task-tab svg { width: 15px; height: 15px; }
.task-tab:hover { border-color: var(--brass-line); color: var(--ink); }
.task-tab.is-active {
  background: var(--pine);
  color: var(--on-pine);
  border-color: var(--pine);
}
.task-tab.is-active svg { color: var(--brass); }
.task-panel { display: none; }
.task-panel.is-active { display: block; }
.task-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 1024px) { .task-grid { grid-template-columns: 1.05fr 0.95fr; } }

/* 처리 절차 번호 스텝 */
.steps-ol { display: flex; flex-direction: column; gap: 14px; }
.steps-ol li { display: flex; align-items: flex-start; gap: 13px; font-size: 0.95rem; color: var(--ink); line-height: 1.5; }
.step-no {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: #fff;
  background: var(--brass);
  border-radius: var(--radius-pill);
}

/* "이런 상황" 리스트 */
.case-list { display: flex; flex-direction: column; gap: 9px; }
.case-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--brass-soft);
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}
.case-list svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--brass-2); }

/* 아이콘 헤더 (패널 상단) */
.icon-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-4); }
.icon-head__box {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--pine-soft);
  color: var(--pine);
  flex-shrink: 0;
}
.icon-head__box svg { width: 22px; height: 22px; }
.icon-head__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.icon-head__sub { font-size: 0.85rem; color: var(--ink-2); }

/* 라벨(작은 헤더) */
.mini-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  margin-bottom: var(--space-4);
}
.mini-head svg { width: 16px; height: 16px; }
.section-pine .mini-head { color: var(--on-pine); }

/* ---- 다크 CTA 밴드 ---- */
.cta-band {
  background: var(--pine);
  color: var(--on-pine);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  text-align: center;
}
.cta-band h2 { color: var(--on-pine); }
.cta-band .lead { color: var(--on-pine-2); }
.cta-band__note { font-size: 0.82rem; color: var(--on-pine-3); margin-top: 16px; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin-top: var(--space-6);
}
@media (min-width: 560px) { .cta-actions { flex-direction: row; } }

/* ---- 히어로 레이아웃 ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-6);
}
@media (min-width: 480px) { .hero-actions { flex-direction: row; } }

/* 페이지 히어로 (서브페이지 상단, 딥그린) */
.page-hero {
  background: var(--pine);
  color: var(--on-pine);
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero h1 { color: var(--on-pine); margin-block: 18px; }
.page-hero .lead { color: var(--on-pine-2); }
.page-hero .brass { color: var(--brass); }

/* ---- 성공(완료) 화면 ---- */
.done-wrap {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.done-badge {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pine-soft);
  color: var(--success);
  margin-bottom: var(--space-5);
}
.done-badge svg { width: 38px; height: 38px; }

/* ---- 사이드바 스텝(상담) ---- */
.side-steps { display: flex; flex-direction: column; gap: 20px; }
.side-steps li { display: flex; gap: 14px; }
.side-steps .step-no { margin-top: 2px; }
.side-steps b { display: block; font-weight: 600; font-size: 0.95rem; color: var(--on-pine); }
.side-steps span { font-size: 0.86rem; color: var(--on-pine-2); line-height: 1.55; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color var(--dur) var(--ease);
}
.contact-row:hover { border-color: var(--brass-line); }
.contact-row__ico {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--pine-soft); color: var(--pine);
}
.contact-row__ico svg { width: 17px; height: 17px; }
.contact-row b { font-weight: 600; font-size: 0.92rem; display: block; }
.contact-row span { font-size: 0.78rem; color: var(--ink-2); }

/* ---- 푸터 ---- */
.site-footer {
  background: var(--pine);
  color: var(--on-pine);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--on-pine); margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; align-self: center; }
.footer-brand .tld { color: var(--brass); }
.footer-desc { color: var(--on-pine-2); font-size: 0.92rem; line-height: 1.7; margin-bottom: var(--space-5); max-width: 34ch; }
.footer-col__title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--on-pine-2); font-size: 0.92rem; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color: var(--on-pine); }
.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact a { display: flex; align-items: center; gap: 11px; }
.footer-contact__ico {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(244, 241, 234, 0.07);
  color: var(--brass);
}
.footer-contact__ico svg { width: 16px; height: 16px; }
.footer-contact b { display: block; font-size: 0.9rem; font-weight: 600; color: var(--on-pine); }
.footer-contact span { font-size: 0.76rem; color: var(--on-pine-3); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--on-pine-line);
  padding-block: 24px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.78rem;
  color: var(--on-pine-3);
}
.footer-copy { font-size: 0.76rem; color: var(--on-pine-3); margin-top: 12px; }

/* ---- 유틸 ---- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
.q-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .q-grid { grid-template-columns: repeat(3, 1fr); } }
.consult-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 1024px) { .consult-grid { grid-template-columns: 1fr 340px; } }
.section-head { max-width: 40ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

/* ============================================================
   스토리텔링 장면(scene) 컴포넌트
   ============================================================ */

/* 장면 컨테이너: 넉넉한 시네마틱 여백 */
.scene { padding-block: clamp(4.5rem, 13vw, 9.5rem); position: relative; }
.scene--dark { background: var(--pine); color: var(--on-pine); }
.scene--tight { padding-block: clamp(3.5rem, 8vw, 6rem); }

/* 장면 상단 라벨 */
.scene__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}
.scene--dark .scene__eyebrow { color: var(--brass); }

/* 장면 전환용 초대형 카피 */
.scene-lead {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.35rem, 6.4vw, 4.7rem);
  line-height: 1.07;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 18ch;
}
.scene--dark .scene-lead { color: var(--on-pine); }
.scene-lead--wide { max-width: 22ch; }

.scene__sub {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 44ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.scene--dark .scene__sub { color: var(--on-pine-2); }

.scene__closing {
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 26ch;
}
.scene--dark .scene__closing { color: var(--on-pine); }
.scene__closing .brass,
.scene--dark .brass { color: var(--brass); }
.scene--dark .ul-brass { background-image: linear-gradient(var(--brass), var(--brass)); }

.scene__actions { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 14px; }
.scene__note { margin-top: 20px; font-size: 0.85rem; color: var(--ink-2); }
.scene--dark .scene__note { color: var(--on-pine-3); }

/* ---- 과정: 좌우 교차 스토리 스텝 ---- */
.story { display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 5.5rem); }
.story-step { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
@media (min-width: 860px) {
  .story-step { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
  .story-step--reverse .story-step__figure { order: -1; }
}
.story-step__no {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.85;
  color: var(--brass);
  display: block;
}
.story-step__title {
  font-family: var(--font-display);
  font-weight: 560;
  /* 가장 긴 제목("확인하고 처리하는 건 랜들리입니다")이 한 줄에 들어가는 크기 */
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
}
.scene--dark .story-step__title { color: var(--on-pine); }
.story-step__text { font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); max-width: 42ch; }
.scene--dark .story-step__text { color: var(--on-pine-2); }

/* 스텝 옆 작은 비네트(타이포+아이콘) */
.vignette {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow);
  max-width: 440px;
}
.vignette--dark { background: var(--pine-2); border-color: var(--on-pine-line); color: var(--on-pine); box-shadow: var(--shadow-lg); }
.vignette__eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-2);
}
.vignette--dark .vignette__eyebrow { color: var(--brass); }
.vignette__line { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.vignette__badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--pine-soft); color: var(--pine);
}
.vignette__badge--brass { background: var(--brass-soft); color: var(--brass-2); }
.vignette__badge--done { background: var(--pine-soft); color: var(--success); }
.vignette--dark .vignette__badge { background: rgba(244,241,234,0.08); color: var(--brass); }
.vignette__badge svg { width: 22px; height: 22px; }
.vignette__main { font-family: var(--font-display); font-size: 1.05rem; font-weight: 560; letter-spacing: -0.01em; }
.vignette__meta { display: block; font-size: 0.82rem; color: var(--ink-2); margin-top: 2px; }
.vignette--dark .vignette__meta { color: var(--on-pine-3); }
.vignette__divider { height: 1px; background: var(--line); margin: 18px 0; }
.vignette--dark .vignette__divider { background: var(--on-pine-line); }

/* ---- 범위: 큰 텍스트 서비스 리스트 ---- */
.service-lines { border-top: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3rem); }
.service-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: clamp(1.4rem, 3vw, 2.15rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur) var(--ease);
}
.service-line__name {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 14px;
  transition: color var(--dur) var(--ease);
}
.service-line__idx { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--brass-2); }
.service-line__desc { font-size: 1.02rem; line-height: 1.7; color: var(--ink-2); }
.service-line:hover { padding-left: 10px; }
.service-line:hover .service-line__name { color: var(--brass-2); }
@media (min-width: 760px) {
  .service-line {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: baseline;
    gap: 2.5rem;
  }
  .service-line__desc { padding-top: 6px; }
}

/* ---- 숫자 장면 ---- */
.figures { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figure__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1; font-weight: 560; letter-spacing: -0.02em;
  color: var(--brass);
  font-variant-numeric: lining-nums tabular-nums;
}
.figure__label { margin-top: 12px; font-size: 1rem; color: var(--ink-2); }
.scene--dark .figure__label { color: var(--on-pine-2); }

/* 큰 인용(후기) — 에디토리얼 */
.pull-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 24ch;
}
.scene--dark .pull-quote { color: var(--on-pine); }
.pull-quote__mark { font-family: var(--font-display); color: var(--brass); font-size: 1.4em; line-height: 0; vertical-align: -0.2em; }
.pull-quote__by { margin-top: 22px; font-family: var(--font-sans); font-size: 0.92rem; color: var(--ink-2); }
.scene--dark .pull-quote__by { color: var(--on-pine-2); }

/* ---- 선택지(요금제 여정) ---- */
.choices { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex; flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.choice:hover { border-color: var(--brass-line); box-shadow: var(--shadow); transform: translateY(-3px); }
.choice--featured { background: var(--pine); color: var(--on-pine); border-color: var(--pine); box-shadow: var(--shadow-lg); }
.choice__step {
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-2); margin-bottom: 14px;
}
.choice--featured .choice__step { color: var(--brass); }
.choice__name {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 560; letter-spacing: -0.01em;
  color: var(--pine);
}
.choice--featured .choice__name { color: var(--brass); }
.choice__lede { font-weight: 600; margin: 4px 0 14px; }
.choice__body { font-size: 0.98rem; line-height: 1.75; color: var(--ink-2); flex: 1; }
.choice--featured .choice__body { color: var(--on-pine-2); }
.choice__ribbon {
  position: absolute; top: -13px; left: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--brass); color: #fff;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 16px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brass);
}
.choice .btn { margin-top: clamp(1.5rem, 3vw, 2rem); }

/* 장면 헤더(좌측 정렬 + 넓은 여백) */
.scene-head { max-width: 30ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.scene-head--wide { max-width: 40ch; }
/* 한 줄로 두는 제목 — 폭 제한 해제 + 컨테이너 폭에 맞춘 크기(좁은 화면에서만 자연 줄바꿈) */
.scene-head--full { max-width: none; }
.scene-lead--full { max-width: none; font-size: clamp(1.9rem, 4vw, 3rem); }

/* 다크 장면 위 링크/텍스트 보정 */
.scene--dark .link-underline { color: var(--brass); background-image: linear-gradient(var(--brass), var(--brass)); }

/* 두 칼럼 내러티브(전환 장면용) */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
@media (min-width: 860px) { .split { grid-template-columns: 1.15fr 0.85fr; } }

/* ============================================================
   모션 6종 (헤드라인/스태거/카운트업/밑줄/비네트/헤더)
   ============================================================ */

/* [1] 헤드라인 줄 단위 마스크 리빌 — <span class="line"><span class="line__inner">…</span></span> */
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line__inner {
  display: block;
  transform: translateY(110%);
  /* 디센더 보호(마스크가 글자 아랫부분을 자르지 않도록) */
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.reveal-lines.is-visible .line__inner,
.reveal-group.is-visible .line__inner { transform: translateY(0); }
/* 줄마다 80ms 시차 */
.reveal-lines.is-visible .line:nth-child(2) .line__inner,
.reveal-group.is-visible .line:nth-child(2) .line__inner { transition-delay: 0.08s; }
.reveal-lines.is-visible .line:nth-child(3) .line__inner,
.reveal-group.is-visible .line:nth-child(3) .line__inner { transition-delay: 0.16s; }
.reveal-lines.is-visible .line:nth-child(4) .line__inner,
.reveal-group.is-visible .line:nth-child(4) .line__inner { transition-delay: 0.24s; }
.reveal-lines.is-visible .line:nth-child(5) .line__inner,
.reveal-group.is-visible .line:nth-child(5) .line__inner { transition-delay: 0.32s; }

/* [2] 장면 내 스태거 등장 — 부모 .reveal-group + 자식 .stagger */
.stagger {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-group.is-visible .stagger { opacity: 1; transform: none; }
.reveal-group.is-visible .stagger:nth-child(1) { transition-delay: 0s; }
.reveal-group.is-visible .stagger:nth-child(2) { transition-delay: 0.06s; }
.reveal-group.is-visible .stagger:nth-child(3) { transition-delay: 0.12s; }
.reveal-group.is-visible .stagger:nth-child(4) { transition-delay: 0.18s; }
.reveal-group.is-visible .stagger:nth-child(5) { transition-delay: 0.24s; }
.reveal-group.is-visible .stagger:nth-child(6) { transition-delay: 0.30s; }

/* [4] 브래스 밑줄 draw — 등장 시 왼쪽에서 오른쪽으로 그려짐 */
.ul-brass {
  background-size: 0% 0.12em;
  transition: background-size 0.7s var(--ease) 0.25s;
}
.is-visible .ul-brass,
.is-visible.ul-brass { background-size: 100% 0.12em; }

/* [5] vignette 알림 카드 도착 연출 (홈 전용) */
.vignette {
  transform: translateY(14px) scale(0.985);
  transition: transform 0.75s var(--ease);
  will-change: transform;
}
.reveal.is-visible .vignette,
.vignette.is-visible { transform: none; }
.vignette__badge {
  transform: scale(0.6);
  transition: transform 0.55s var(--ease) 0.18s;
}
.reveal.is-visible .vignette__badge,
.vignette.is-visible .vignette__badge { transform: none; }

/* [3] 숫자 카운트업 — 값은 JS(site.js)가 갱신, 여기선 표시만 안정화 */
.figure__num[data-count] { font-variant-numeric: lining-nums tabular-nums; }

/* [6] 헤더 스크롤 반응 — 80px 이상에서 축소 + 반투명 블러 */
.site-header {
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header__inner { transition: height 0.3s var(--ease); }
.site-header.is-scrolled {
  background: rgba(30, 58, 47, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--on-pine-line), var(--shadow-sm);
}
.site-header.is-scrolled .site-header__inner { height: 56px; }
/* backdrop-filter 미지원 시 불투명 폴백 */
@supports not ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .site-header.is-scrolled { background: var(--pine); }
}

/* 기기의 "모션 줄이기" 설정과 무관하게 항상 애니메이션 동작 (사이트 방침) */

/* ============================================================
   장면 1 · 야경 비주얼 (건물 실루엣 + 수신 전화 카드)
   ============================================================ */
.night-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.night-visual { position: relative; max-width: 330px; }
.night-visual svg { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) {
  .night-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
  .night-visual { max-width: 470px; width: 100%; justify-self: end; }
}

.night-svg .bld { fill: rgba(244, 241, 234, 0.05); }
.night-svg .bld--mid { fill: rgba(244, 241, 234, 0.085); }
.night-svg .win { fill: rgba(244, 241, 234, 0.08); }
.night-svg .win--lit { fill: var(--brass); opacity: 0.55; }
.night-svg .win--blink { animation: winBlink 4.4s ease-in-out infinite; }
.night-svg .win--blink2 { animation: winBlink 5.8s ease-in-out 1.4s infinite; }
.night-svg .moon { fill: var(--brass); opacity: 0.28; }
.night-svg .ground { fill: rgba(244, 241, 234, 0.14); }
@keyframes winBlink {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.night-visual__card {
  position: absolute;
  left: 0;
  bottom: 10%;
  min-width: 235px;
  box-shadow: 0 28px 70px -32px rgba(0, 0, 0, 0.6);
}
@media (min-width: 1024px) {
  .night-visual__card { left: -8%; bottom: 13%; }
}
.night-visual__card .vignette__line { margin-top: 0; }
/* 야경 카드는 "302호 임차인 · 수신 전화"를 같은 줄에, 사이 간격만 넉넉히 */
.night-visual__card .vignette__meta { display: inline; margin-left: 12px; }

/* 수신 전화 링 파동 */
.ring-pulse { position: relative; }
.ring-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--brass);
  animation: ringPulse 0.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.55; }
  75% { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* 전화 아이콘 흔들림 — 벨 울릴 때처럼 짧게 떨고 잠시 멈춤 */
.ring-pulse svg {
  animation: phoneShake 1.6s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes phoneShake {
  0%, 6% { transform: rotate(0deg); }
  10% { transform: rotate(-35deg); }
  14% { transform: rotate(30deg); }
  18% { transform: rotate(-25deg); }
  22% { transform: rotate(20deg); }
  26% { transform: rotate(-13deg); }
  30%, 100% { transform: rotate(0deg); }
}


/* ============================================================
   무료 강조 섹션 (home)
   site_full 의 zero/free 블록을 brass 언어로 옮긴 것.
   amber(#FFB43A) 대신 --brass 계열만 사용해 톤을 통일한다.
   ============================================================ */
/* 밝은 장면이 연이어 나오는 구간이라, 무료 장면만 종이 톤을 한 단계 올려 도드라지게 한다. */
.free-sec { background: var(--paper-2); }

.free-grid {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 900px) {
  .free-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-9); }
}

/* 0원 히어로 */
.zero-hero {
  position: relative;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--brass-soft);
  border: 1px solid var(--brass-line);
  border-radius: var(--radius-xl);
}
.zero-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.zero-num__won {
  font-size: 0.34em;
  font-weight: 600;
  color: var(--brass-2);
  margin-left: 0.06em;
  letter-spacing: 0;
}
.zero-cap {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.zero-stamp {
  position: absolute;
  top: -14px;
  right: 6%;
  transform: rotate(6deg);
  background: var(--brass);
  color: var(--paper-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brass);
  white-space: nowrap;
}

/* 무료 항목 리스트 */
.free-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.free-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.free-list li:hover { border-color: var(--brass-line); transform: translateX(3px); }
.free-list__check {
  flex: none;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brass);
  color: var(--paper-2);
}
.free-list__check svg { width: 14px; height: 14px; }
.free-list__tag {
  margin-left: auto;
  flex: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brass-2);
  background: var(--brass-soft);
  border: 1px solid var(--brass-line);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

/* "무료 체험이 아니라 무료 요금제" 주석 */
.free-note {
  margin-top: var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid var(--brass);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.free-note strong { color: var(--ink); font-weight: 700; }

/* 무료 리포트 목업 (앱이 대신 정리해 주는 화면) */
.free-report { margin-top: var(--space-8); }
.free-report .report { max-width: 560px; margin: 0 auto; }
.report__stamp--free {
  background: var(--brass-soft);
  border: 1px solid var(--brass-line);
  color: var(--brass-2);
}

/* ============================================================
   장면 2 · 랜들리가 처리한 현황 대시보드
   구버전 홈의 앱 목업을 pine/brass 톤으로 옮긴 것.
   무료 장면의 .report(앱이 무료로 하는 일)와 역할을 나눈다 — 이쪽은 사람이 하는 일.
   ============================================================ */
.dash {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: var(--space-6);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.dash__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.bento--dash { grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .bento--dash { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .bento--dash { grid-template-columns: repeat(6, 1fr); } }
.bento--dash .bento__cell { padding: var(--space-4); gap: 6px; }
/* 기본 벤토(4열)에서 feature 셀은 2x2 를 차지하지만, 대시보드는 균등 6칸이므로 해제한다. */
.bento--dash .bento__cell--feature { grid-column: auto; grid-row: auto; }
.dash__val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.bento__cell--feature .dash__val { color: var(--brass); }
.dash__hint { font-size: 0.72rem; color: var(--on-pine-2); line-height: 1.5; }
.dash__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.dash__foot svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--pine); }

/* 장면 3 · 역할 분담 소제목 */
.mini-head {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 var(--space-5);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.flow__step--dark .check-list li { color: var(--on-pine-2); }
.flow__step--dark .check-list svg { color: var(--brass); }

/* ============================================================
   클로징 · 방해금지 모드 토글
   ============================================================ */
.dnd {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  width: min(360px, 100%);
  padding: var(--space-5);
  background: rgba(244, 241, 234, 0.05);
  border: 1px solid var(--on-pine-line);
  border-radius: var(--radius-lg);
}
.dnd__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.dnd__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--on-pine);
}
.dnd__label svg { width: 16px; height: 16px; color: var(--brass); }
.dnd__toggle {
  flex: none;
  width: 48px; height: 27px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(244, 241, 234, 0.18);
  position: relative;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.dnd__toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--on-pine);
  transition: left var(--dur) var(--ease), background var(--dur) var(--ease);
}
.dnd__toggle.is-on { background: var(--brass); }
.dnd__toggle.is-on::after { left: 24px; background: var(--paper-2); }
.dnd__toggle:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.dnd__silence {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--on-pine-2);
  transition: max-height 0.32s var(--ease), opacity 0.32s var(--ease), margin-top 0.32s var(--ease);
}
.dnd__silence b { color: var(--brass); font-weight: 700; }
.dnd.is-quiet .dnd__silence {
  max-height: 90px;
  opacity: 1;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px dashed var(--on-pine-line);
}
@media (prefers-reduced-motion: reduce) {
  .dnd__silence, .dnd__toggle, .dnd__toggle::after { transition: none; }
}

/* ============================================================
   장면 1 · 오프닝의 무료 배지 / 해소 한 줄
   문제 제기 장면이라 서사는 그대로 두고, 가격은 배지와 각주로만 얹는다.
   ============================================================ */
.hero-badge {
  margin-bottom: var(--space-5);
  letter-spacing: 0.01em;
}
.hero-badge b {
  color: var(--brass);
  font-weight: 700;
}
.hero-badge .chip-dot { background: var(--brass); }
.hero-note {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--on-pine-line);
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--on-pine-2);
}
.hero-note b { color: var(--on-pine); font-weight: 600; }
