:root {
  --bg: #fcfbf4;
  --ink: #433f3e;
  --muted: rgba(67, 63, 62, 0.58);
  --line: rgba(67, 63, 62, 0.08);
  --blue: #3b82f6;
  --shadow: 0 18px 40px rgba(67, 63, 62, 0.08);

  --pastel-blue: #dbeafe;
  --pastel-red: #ffe4e6;
  --pastel-mint: #d1fae5;
  --pastel-yellow: #fef3c7;
  --pastel-lavender: #ede9fe;
  --pastel-peach: #ffedd5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(100%, 720px);
  margin: 0 auto;
  background: var(--bg);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 56px;
  text-align: center;
}

.hero-logo {
  display: block;
  width: 220px;
  max-width: 220px;
  height: auto;
}

.eyebrow {
  margin: 20px 0 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
p {
  word-break: keep-all;
}

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

.intro {
  max-width: 270px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Section heading */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
}

.section-heading span {
  flex: none;
  color: rgba(67, 63, 62, 0.42);
  font-size: 11px;
  font-weight: 700;
}

/* Shelf */
.shelf-section {
  padding: 0 0 28px;
}

.shelf-section .section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0 24px;
  margin-bottom: 12px;
  text-align: left;
}

.shelf-section .eyebrow {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: left;
}

.book-shelf {
  display: grid;
  /* 넓은 화면: 책 수만큼 칸(최대 4칸, script.js renderShelf가 정함). 폰은 아래 760px 규칙에서 2열 */
  grid-template-columns: repeat(var(--shelf-columns, 4), minmax(0, 1fr));
  gap: 16px 12px;
  padding: 0 24px;
}

.book-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px 14px 14px 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.book-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.book-card.is-active {
  border-color: #3b82f6;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.16);
}

.book-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 596;
  border-radius: 3px 12px 12px 3px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(67, 63, 62, 0.08);
  background-color: var(--book-color, #f5ede0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
  color: var(--ink);
}

.book-card.has-cover .book-cover-fallback {
  display: none;
}

/* 서가 카드의 언어 칩 */
.book-lang {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 6px rgba(67, 63, 62, 0.14);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

/* 서가 카드의 선택 체크 */
.book-check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #3b82f6;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.35);
}

.book-card.is-active .book-check {
  display: flex;
}

/* 정보 영역 */
.book-info {
  padding: 8px 2px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.book-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  min-height: 2.5em;
}

.book-price-line {
  font-size: 0.88rem;
  font-weight: 800;
  color: #2F7FC1;
  display: flex;
  align-items: center;
}

.book-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pastel-peach, #ffedd5);
  border: 1px solid rgba(253, 186, 116, 0.6);
  color: rgba(67, 63, 62, 0.85);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

/* Collapse toggle */
.collapse-action {
  padding: 0 24px;
  margin-bottom: 24px;
}

.collapse-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(67, 63, 62, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(67, 63, 62, 0.04);
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 120ms ease;
}

.collapse-toggle-btn:hover {
  background: #fdfcfa;
  border-color: rgba(67, 63, 62, 0.22);
  box-shadow: 0 6px 18px rgba(67, 63, 62, 0.08);
}

.collapse-toggle-btn:active {
  transform: scale(0.99);
}

.collapse-content[hidden] {
  display: none;
}

/* Book detail (basic card) */
.book-detail {
  margin: 0 24px 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(67, 63, 62, 0.04);
}

.detail-book {
  position: relative;
  display: block;
  width: min(48vw, 178px);
  aspect-ratio: 1055 / 1491;
  height: auto;
  margin: 0 auto 22px;
  padding: 0;
  border: 0;
  border-radius: 3px 13px 13px 3px;
  background: transparent;
  box-shadow: 0 8px 16px rgba(67, 63, 62, 0.1);
  cursor: zoom-in;
  overflow: hidden;
}

.detail-book:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.38);
  outline-offset: 5px;
}

.detail-book img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: fill;
}

.detail-book > span:not(.preview-badge) {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 10px;
  text-align: center;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-weight: 800;
}

.preview-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: #1f2f45;
  font-size: 0.86rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 26px rgba(31, 47, 69, 0.18);
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  transition: transform 180ms ease, background 180ms ease;
}

.detail-book:hover .preview-badge,
.detail-book:focus-visible .preview-badge {
  background: rgba(255, 255, 255, 0.58);
  transform: translate(-50%, -50%) scale(1.04);
}

.detail-copy {
  text-align: center;
}

.detail-copy .eyebrow {
  margin-top: 0;
}

.detail-copy h2 {
  margin: 8px auto 12px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: clamp(1.5rem, 6.5vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.detail-copy .lede {
  margin: 0 auto 12px;
  max-width: 440px;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.93rem;
  line-height: 1.8;
}

.detail-copy .lede strong {
  color: var(--ink);
  font-weight: 800;
}

.detail-copy.fade-in {
  animation: fadeIn 280ms ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-meta {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}

.book-meta div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.book-meta dt {
  color: rgba(67, 63, 62, 0.48);
  font-size: 0.82rem;
  font-weight: 800;
}

.book-meta dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  word-break: keep-all;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(67, 63, 62, 0.16);
}

.primary-link.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.book-meta .meta-note {
  display: block;
  margin-top: 2px;
  color: rgba(67, 63, 62, 0.55);
  font-size: 0.8rem;
  font-weight: 700;
}

/* 판매를 멈춘 책(books-data.js status "판매중지")의 주문 버튼 자리 */
.paused-note {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 12px 22px;
  border: 1px solid rgba(253, 186, 116, 0.6);
  border-radius: 999px;
  background: #ffedd5;
  color: rgba(67, 63, 62, 0.85);
  font-size: 0.92rem;
  font-weight: 800;
}

.paused-note[hidden] {
  display: none;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ghost-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 20px;
  border: 1.5px solid rgba(67, 63, 62, 0.16);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.ghost-link[hidden] {
  display: none;
}

/* 폰 하단 주문 띠 (script.js가 보이고 숨김) */
.order-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: rgba(252, 251, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -10px 28px rgba(67, 63, 62, 0.08);
  animation: orderBarIn 220ms ease both;
}

.order-bar[hidden],
body.modal-open .order-bar {
  display: none;
}

@keyframes orderBarIn {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

.order-bar-cover {
  flex: none;
  width: 36px;
  height: 51px;
  object-fit: cover;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 4px 10px rgba(67, 63, 62, 0.16);
}

.order-bar-text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
}

.order-bar-text strong {
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-bar-text small {
  color: rgba(67, 63, 62, 0.6);
  font-size: 0.8rem;
  font-weight: 800;
}

.order-bar-go {
  display: inline-flex;
  flex: none;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .hero {
    padding-bottom: 48px;
  }

  .hero-logo {
    width: 190px;
    max-width: 190px;
  }

  .book-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  /* 띠가 맨 아래 글을 가리지 않게 (서점에서만) */
  body.has-order-bar {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-bar {
    animation: none;
  }
}

/* Featured detail container (only shown for the featured book) */
.featured-detail[hidden] {
  display: none;
}

/* Why section */
.why-section {
  margin: 0 0 30px;
}

.why-grid {
  display: grid;
  gap: 14px;
  padding: 0 24px;
}

.why-card {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 20px;
  background: var(--pastel-peach);
  box-shadow: 0 10px 22px rgba(67, 63, 62, 0.06);
}

.why-card.why-1 { background: var(--pastel-peach); }
.why-card.why-2 { background: var(--pastel-mint); }
.why-card.why-3 { background: var(--pastel-lavender); }

.why-num {
  display: inline-flex;
  min-width: 36px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.why-card p {
  margin: 0;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

.why-card em {
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
}

/* Flow section */
.flow-section {
  margin: 0 0 30px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px;
}

.flow-card {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(67, 63, 62, 0.04);
}

.flow-card.flow-1 { background: var(--pastel-blue); border-color: rgba(147, 197, 253, 0.45); }
.flow-card.flow-2 { background: var(--pastel-peach); border-color: rgba(253, 186, 116, 0.45); }
.flow-card.flow-3 { background: var(--pastel-lavender); border-color: rgba(196, 181, 253, 0.45); }
.flow-card.flow-4 { background: var(--pastel-mint); border-color: rgba(134, 239, 172, 0.45); }

.flow-step {
  display: inline-block;
  margin-bottom: 10px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.flow-card h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.flow-card p {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.flow-card small {
  display: block;
  color: rgba(67, 63, 62, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Area section (5영역) */
.area-section {
  margin: 0 0 30px;
}

.area-grid {
  display: grid;
  gap: 12px;
  padding: 0 24px;
}

.area-card {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(67, 63, 62, 0.04);
}

.area-card.area-1 { background: var(--pastel-blue); border-color: rgba(147, 197, 253, 0.45); }
.area-card.area-2 { background: var(--pastel-peach); border-color: rgba(253, 186, 116, 0.45); }
.area-card.area-3 { background: var(--pastel-lavender); border-color: rgba(196, 181, 253, 0.45); }
.area-card.area-4 { background: var(--pastel-mint); border-color: rgba(134, 239, 172, 0.45); }
.area-card.area-5 { background: var(--pastel-yellow); border-color: rgba(250, 204, 21, 0.45); }
.area-card.area-6 { background: var(--pastel-red); border-color: rgba(253, 164, 175, 0.45); }

.area-step {
  display: inline-block;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.area-meta {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(67, 63, 62, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.area-card h3 {
  margin: 10px 0 2px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.area-card .area-sub {
  margin: 0 0 8px;
  color: rgba(67, 63, 62, 0.62);
  font-size: 0.84rem;
  font-weight: 800;
}

.area-card > p:last-child {
  margin: 0;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Audio bullets (used in nofu3 audio card) */
.audio-bullets {
  margin: 14px auto 14px;
  padding: 0;
  max-width: 460px;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 8px;
}

.audio-bullets li {
  position: relative;
  padding: 10px 14px 10px 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(67, 63, 62, 0.86);
  font-size: 0.88rem;
  line-height: 1.55;
}

.audio-bullets li::before {
  content: "♪";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-weight: 900;
  font-size: 1rem;
}

.audio-bullets strong {
  color: var(--ink);
  font-weight: 800;
}

.audio-card .audio-foot {
  margin-top: 4px;
  color: rgba(67, 63, 62, 0.5);
  font-size: 0.82rem;
  font-style: italic;
}

/* Guide section closing note */
.guide-section {
  margin: 0 0 30px;
}

.guide-section .guide-foot {
  margin: 16px 24px 0;
  color: rgba(67, 63, 62, 0.62);
  font-size: 0.86rem;
  line-height: 1.7;
}

/* Phase section */
.phase-section {
  margin: 0 0 30px;
}

.phase-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: grid;
  gap: 12px;
}

.phase-item {
  position: relative;
  padding: 22px 22px 20px 26px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(67, 63, 62, 0.04);
}

.phase-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 999px;
  background: rgba(67, 63, 62, 0.15);
}

.phase-item.phase-1::before { background: #93c5fd; }
.phase-item.phase-2::before { background: #fdba74; }
.phase-item.phase-3::before { background: #fda4af; }
.phase-item.phase-4::before { background: #c4b5fd; }
.phase-item.phase-5::before { background: #86efac; }
.phase-item.phase-6::before { background: #facc15; }

.phase-item header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.phase-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(67, 63, 62, 0.06);
  color: var(--ink);
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.phase-level {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--pastel-blue);
  color: #1e3a8a;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.phase-item h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.phase-days {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.phase-item > p:last-child {
  margin: 0;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Audio section */
.audio-section {
  margin: 0 24px 30px;
}

.audio-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, #fef3c7 0%, #fce7f3 100%);
  box-shadow: 0 12px 26px rgba(67, 63, 62, 0.07);
  text-align: center;
}

.audio-eyebrow {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.audio-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.audio-card p {
  margin: 0 auto 8px;
  max-width: 440px;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  line-height: 1.75;
}

.audio-card .audio-quote {
  margin-top: 4px;
  margin-bottom: 18px;
  color: rgba(67, 63, 62, 0.62);
  font-size: 0.86rem;
  font-style: italic;
}

.audio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(67, 63, 62, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.audio-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(67, 63, 62, 0.14);
}

/* FAQ section */
.faq-section {
  margin: 0 0 30px;
}

.faq-list {
  display: grid;
  gap: 10px;
  padding: 0 24px;
}

.faq-item {
  padding: 4px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(67, 63, 62, 0.03);
}

.faq-item summary {
  position: relative;
  padding: 14px 32px 14px 0;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.5;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(67, 63, 62, 0.06);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  transition: transform 200ms ease, background 200ms ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--pastel-blue);
}

.faq-item p {
  margin: 0 0 14px;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-item em {
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
}

/* Author section */
.author-section {
  margin: 0 24px 30px;
}

.author-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(67, 63, 62, 0.04);
  border: 1px solid var(--line);
}

.author-eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.author-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.author-card p {
  margin: 0;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  line-height: 1.8;
}

.author-card em {
  font-style: italic;
  font-weight: 800;
  color: var(--ink);
}

/* Preview modal */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 18px;
  background: rgba(35, 31, 30, 0.38);
}

.preview-modal.is-open {
  display: flex;
}

.preview-panel {
  width: min(100%, 760px);
  max-height: min(88vh, 760px);
  overflow: hidden;
  border-radius: 28px 28px 18px 18px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(35, 31, 30, 0.22);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
}

.preview-header p {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-header h2 {
  margin: 0;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.3rem;
  line-height: 1.2;
}

.preview-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.preview-pages {
  display: grid;
  grid-auto-columns: minmax(210px, 280px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 18px 20px 24px;
  scroll-snap-type: x mandatory;
}

.preview-page {
  position: relative;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px 16px 16px 4px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(67, 63, 62, 0.1);
  scroll-snap-align: center;
}

.image-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #fffdf8;
}

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

.image-page span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.cover-page span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 900;
}

.text-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.text-page > span {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgba(67, 63, 62, 0.34);
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.text-page h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.text-page p {
  margin: 0;
  color: rgba(67, 63, 62, 0.72);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Order section */
.order-section {
  margin: 0 24px 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(67, 63, 62, 0.04);
}

.order-heading {
  margin-bottom: 22px;
  text-align: center;
}

.order-heading .eyebrow {
  margin-top: 0;
}

.order-heading h2 {
  margin: 8px 0 10px;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  line-height: 1.22;
}

.order-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.order-form {
  display: grid;
  gap: 16px;
}

.order-form label,
.order-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.order-form span,
.order-form legend {
  color: rgba(67, 63, 62, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
}

.order-form em {
  color: rgba(67, 63, 62, 0.42);
  font-style: normal;
  font-weight: 800;
}

.order-form .field-hint {
  color: rgba(67, 63, 62, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfbf4;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form select {
  min-height: 48px;
  padding: 0 14px;
}

.order-form textarea {
  min-height: 104px;
  padding: 14px;
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.55);
  outline: 3px solid rgba(59, 130, 246, 0.14);
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: rgba(67, 63, 62, 0.34);
}

/* Book pick (prominent radio at top of order form) */
.book-pick {
  position: relative;
  margin: 0 0 22px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(219, 234, 254, 0.55) 0%, rgba(255, 237, 213, 0.45) 100%);
  display: block;
}

.book-pick legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.book-pick legend em {
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
}

.book-pick-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.book-pick-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.book-pick-card input {
  appearance: none;
  -webkit-appearance: none;
  display: none;
}

.book-pick-card img {
  width: 44px;
  height: 62px;
  border-radius: 2px 6px 6px 2px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(67, 63, 62, 0.18);
}

.book-pick-card span {
  display: grid;
  gap: 2px;
}

.book-pick-card strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.3;
}

.book-pick-card small {
  color: rgba(67, 63, 62, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
}

.book-pick-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(67, 63, 62, 0.08);
}

.book-pick-card:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18), 0 10px 22px rgba(67, 63, 62, 0.1);
  background: rgba(219, 234, 254, 0.35);
}

.book-pick-card.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.book-pick-card.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.book-pick-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(253, 186, 116, 0.72);
  color: #7c2d12;
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: nowrap;
}

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

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

.choice-grid label {
  --choice-bg: #fcfbf4;
  --choice-border: var(--line);
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--choice-border);
  border-radius: 14px;
  background: var(--choice-bg);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.choice-grid label:has(input:checked) {
  border-color: rgba(67, 63, 62, 0.28);
  box-shadow: 0 8px 18px rgba(67, 63, 62, 0.1);
  transform: translateY(-1px);
}

.choice-grid input {
  accent-color: var(--ink);
}

.choice-grid .choice-blue { --choice-bg: var(--pastel-blue); --choice-border: #93c5fd; }
.choice-grid .choice-red { --choice-bg: var(--pastel-red); --choice-border: #fda4af; }
.choice-grid .choice-mint { --choice-bg: var(--pastel-mint); --choice-border: #86efac; }
.choice-grid .choice-yellow { --choice-bg: var(--pastel-yellow); --choice-border: #facc15; }
.choice-grid .choice-lavender { --choice-bg: var(--pastel-lavender); --choice-border: #c4b5fd; }
.choice-grid .choice-peach { --choice-bg: var(--pastel-peach); --choice-border: #fdba74; }

/* Deposit / account info box */
.deposit-box {
  margin: 4px 0 4px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--pastel-mint) 0%, var(--pastel-blue) 100%);
  box-shadow: 0 8px 20px rgba(67, 63, 62, 0.06);
}

.deposit-eyebrow {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.deposit-account {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.deposit-account small {
  color: rgba(67, 63, 62, 0.6);
  font-size: 0.78rem;
  font-weight: 800;
}

.deposit-num {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deposit-num strong {
  flex: 1;
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.deposit-copy {
  flex: none;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease;
}

.deposit-copy:hover {
  transform: translateY(-1px);
}

.deposit-copy.is-copied {
  background: #16a34a;
}

.deposit-note {
  margin: 12px 2px 0;
  color: rgba(67, 63, 62, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}

.submit-order {
  min-height: 52px;
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(67, 63, 62, 0.16);
}

.order-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.google-form-target {
  display: none;
}

/* Footer */
.site-footer {
  padding: 40px 24px 44px;
  background: rgba(67, 63, 62, 0.05);
  text-align: center;
}

.site-footer p {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 900;
}

.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}

.site-footer .footer-icon {
  display: grid;
  min-height: 52px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  color: var(--ink);
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(67, 63, 62, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.site-footer .footer-icon svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
  transition: color 200ms ease;
}

.site-footer .footer-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(67, 63, 62, 0.08);
}

.site-footer .footer-instagram:hover svg { color: #e1306c; }
.site-footer .footer-blog:hover svg { color: #03c75a; }
.site-footer .footer-youtube:hover svg { color: #ff0000; }

.site-footer small {
  display: block;
  margin-top: 32px;
  color: rgba(67, 63, 62, 0.32);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 680px) {
  .book-detail {
    display: grid;
    grid-template-columns: minmax(150px, 190px) 1fr;
    gap: 34px;
    align-items: center;
  }

  .detail-book {
    width: 100%;
    margin: 0;
  }

  .detail-copy {
    text-align: left;
  }

  .detail-copy .lede {
    margin-left: 0;
  }

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

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

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

@media (max-width: 520px) {
  .book-meta div {
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 0;
  }

  .book-meta dd {
    font-size: 0.88rem;
  }
}

/* ── Studio: nav between rooms ─────────────────────────────── */
.studio-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 0;
}

.studio-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(67, 63, 62, 0.05);
  color: rgba(67, 63, 62, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.studio-nav a:hover {
  background: rgba(67, 63, 62, 0.09);
  color: var(--ink);
}

.studio-nav a:focus-visible,
.app-store:focus-visible,
.apps-jump a:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.38);
  outline-offset: 3px;
}

/* ── Studio: app room ──────────────────────────────────────── */
.apps-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 20px 14px;
  text-align: center;
}

.apps-hero .eyebrow {
  margin: 0;
}

.apps-hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 6.2vw, 1.9rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.apps-lede {
  max-width: 30ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.apps-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.apps-jump a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.apps-jump a[href="#sky"] { background: var(--pastel-blue); }
.apps-jump a[href="#music"] { background: var(--pastel-mint); }
.apps-jump a[href="#daily"] { background: var(--pastel-peach); }

.app-group {
  display: grid;
  gap: 14px;
  padding: 18px 16px 10px;
  scroll-margin-top: 12px;
}

.app-group-head {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
}

.app-group-head .group-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

.app-group-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.35;
}

.app-group-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.g-sky { background: var(--pastel-blue); color: #1e3a8a; }
.g-music { background: var(--pastel-mint); color: #065f46; }
.g-daily { background: var(--pastel-peach); color: #9a3412; }

.app-card {
  display: grid;
  gap: 14px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(67, 63, 62, 0.04);
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 23%;
  box-shadow: 0 6px 14px rgba(67, 63, 62, 0.14);
}

.app-card-head h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.3;
}

.app-kind {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.app-line {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.5;
  word-break: keep-all;
}

.app-desc {
  margin: 0;
  color: rgba(67, 63, 62, 0.8);
  font-size: 0.92rem;
  line-height: 1.8;
  word-break: keep-all;
}

/* screenshots: swipe row — two shots visible, the third peeks in */
.app-shots {
  display: flex;
  gap: 10px;
  margin: 0 -20px;
  padding: 2px 20px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-shots::-webkit-scrollbar {
  display: none;
}

.app-shots img {
  flex: 0 0 auto;
  width: min(40%, 150px);
  height: auto;
  aspect-ratio: 400 / 866;
  object-fit: cover;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f3f1ea;
  box-shadow: 0 8px 16px rgba(67, 63, 62, 0.08);
}

/* added by /apps/shots.js */
.shots-wrap {
  position: relative;
  display: grid;
  gap: 8px;
}

.shots-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: -6px;
}

.shots-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(67, 63, 62, 0.16);
  transition: background 200ms ease;
}

.shots-dots span.on {
  background: rgba(67, 63, 62, 0.55);
}

.shots-btn {
  position: absolute;
  top: calc(50% - 22px);
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(67, 63, 62, 0.16);
  cursor: pointer;
}

.shots-btn.prev {
  left: -10px;
}

.shots-btn.next {
  right: -10px;
}

.shots-btn[hidden] {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .shots-btn {
    display: grid;
  }
}

.app-note {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
  word-break: keep-all;
}

.app-pro {
  margin: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(67, 63, 62, 0.04);
  color: rgba(67, 63, 62, 0.78);
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

.app-pro b {
  color: var(--ink);
  font-weight: 800;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-tags li {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(67, 63, 62, 0.06);
  color: rgba(67, 63, 62, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.app-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.app-price {
  font-size: 0.95rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.app-price small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.app-store {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(67, 63, 62, 0.16);
}

.apps-end {
  padding: 26px 16px 40px;
  text-align: center;
}

.apps-end a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

/* ── Studio: 프랑스푼 intro (/francespoon/) ─────────────────── */
.fs-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 20px 24px;
  text-align: center;
}

.fs-icon {
  width: 96px;
  height: 96px;
  border-radius: 23%;
  box-shadow: 0 10px 24px rgba(67, 63, 62, 0.16);
}

.fs-name h1 {
  margin: 0;
  font-size: clamp(1.7rem, 7vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.fs-badge {
  display: inline-block;
  margin-left: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3ead9;
  color: #7a6340;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: 6px;
}

.fs-name .app-kind {
  margin-top: 4px;
}

.fs-line {
  margin: 6px 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
  word-break: keep-all;
}

.fs-cta {
  min-height: 48px;
  padding: 0 26px;
  font-size: 0.95rem;
}

.fs-price {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.fs-inapp {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 34ch;
  margin-top: 6px;
  padding: 14px 16px;
  border: 1px solid #e6d7b8;
  border-radius: 18px;
  background: #fbf6ea;
  color: #6b5533;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.fs-inapp[hidden] {
  display: none;
}

.fs-inapp p {
  margin: 0;
}

.fs-inapp-url {
  font-weight: 800;
  user-select: all;
}

.fs-copy {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

.fs-card {
  margin: 0 16px;
}

.fs-legal {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
}

.fs-legal a {
  color: var(--muted);
}

/* 입금 금액 + 주문 접수 완료 화면 (2026-10-07) */
.order-form[hidden],
.order-done[hidden],
.deposit-amount-note[hidden] {
  display: none !important;
}

.deposit-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.deposit-amount span {
  color: rgba(67, 63, 62, 0.66);
  font-size: 0.8rem;
  font-weight: 800;
}

.deposit-amount strong {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
}

.deposit-amount strong.is-empty {
  color: rgba(67, 63, 62, 0.5);
  font-size: 0.86rem;
}

.deposit-amount-note {
  margin: -4px 2px 12px;
  color: rgba(67, 63, 62, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.order-done {
  display: grid;
  gap: 14px;
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--pastel-mint) 0%, var(--pastel-blue) 100%);
  box-shadow: var(--shadow);
  outline: none;
}

.order-done-eyebrow {
  margin: 0;
  color: #15803d;
  font-size: 0.84rem;
  font-weight: 900;
}

.order-done h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.order-done-lead,
.order-done-tip {
  margin: 0;
  color: rgba(67, 63, 62, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.order-done-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
}

.order-done-list > div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-done-list > div:last-child {
  border-bottom: 0;
}

.order-done-list dt {
  color: rgba(67, 63, 62, 0.6);
  font-size: 0.76rem;
  font-weight: 800;
}

.order-done-list dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  word-break: break-all;
}

.order-done-list .is-amount dd {
  font-size: 1.3rem;
  font-weight: 900;
}

.order-done-list .is-amount .done-amount-note {
  color: rgba(67, 63, 62, 0.65);
  font-size: 0.82rem;
  font-weight: 800;
}

.order-done-list .done-amount-note[hidden] {
  display: none;
}

.order-done-list dd small {
  flex-basis: 100%;
  color: rgba(67, 63, 62, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
}

.done-account strong {
  font-family: Georgia, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.order-done-again {
  justify-self: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}
