/* Open Runde — 전체 폰트 (Fontsource CDN) */
@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-400-normal.woff2) format('woff2'),
       url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-400-normal.woff) format('woff');
}
@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-500-normal.woff2) format('woff2'),
       url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-500-normal.woff) format('woff');
}
@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-600-normal.woff2) format('woff2'),
       url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-600-normal.woff) format('woff');
}
@font-face {
  font-family: 'Open Runde';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-700-normal.woff2) format('woff2'),
       url(https://cdn.jsdelivr.net/fontsource/fonts/open-runde@latest/latin-700-normal.woff) format('woff');
}

/* ============================================================
   색상, 폰트, 여백 등은 전부 여기 :root 변수에서 관리합니다.
   전체 톤을 바꾸고 싶으면 이 값들만 수정하세요.
============================================================ */
:root {
  --bg-page: #ffffff;
  --bg-soft: #efeeec;      /* 히어로/이미지 박스 배경 */
  --bg-dark: #0b0b0c;      /* 다크 목업 배경 */
  --text-primary: #121212;
  --text-secondary: #6b6b6e;
  --text-tertiary: #9a9a9d;
  --accent-green: #00c556; /* Shipped 점 색상 */
  --line: #e7e6e3;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-width: 760px;

  --font-display: "Open Runde", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Open Runde", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---------- 다크 모드 팔레트 ---------- */
html[data-theme="dark"] {
  --bg-page: #17140F;
  --bg-soft: #211D16;
  --text-primary: #F3EFE6;
  --text-secondary: #B9B2A2;
  --text-tertiary: #6E6858;
  --line: #332E24;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.icon-btn, .feature-card, .hero-media, .media-dark, .media-light, .toggle-row, .link-chip, .footer-nav a {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle { border: none; }
.icon-dark { display: none; }
html[data-theme="dark"] .icon-light { display: none; }
html[data-theme="dark"] .icon-dark { display: inline; }

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 96px;
  position: relative;
}

/* ---------- 상단 바: 다크모드 토글(홈과 동일한 슬라이더) + 뒤로가기 ---------- */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 12px 0 36px;
}
.back-arrow {
  position: absolute;
  left: 0;
  top: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
}
.theme-toggle {
  position: relative;
  width: 64px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 9px;
  transition: background-color 0.3s ease;
}
.theme-toggle .track-icon {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1;
}
.theme-toggle .track-icon.sun { margin-right: auto; }
.theme-toggle .track-icon.moon { margin-left: auto; }
.theme-toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-primary);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
html[data-theme="dark"] .theme-toggle .knob { transform: translateX(30px); }
.theme-toggle .knob .knob-sun { display: inline; }
.theme-toggle .knob .knob-moon { display: none; }
html[data-theme="dark"] .theme-toggle .knob .knob-sun { display: none; }
html[data-theme="dark"] .theme-toggle .knob .knob-moon { display: inline; }

/* ---------- 헤더 ---------- */
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
}
.hero-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.subtitle {
  margin: 0;
  color: #666666;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
html[data-theme="dark"] .subtitle { color: #9E9E9E; }
.status-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 28px;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  margin-top: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.status-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.status-pill.status-concept .status-dot { background: var(--text-tertiary); }
.status-pill.status-concept .status-dot::after { display: none; }
.status-dot {
  position: relative;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
}
/* Shipped 상태를 은은하게 강조하는 pulse 마이크로 인터랙션 */
.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-green);
  animation: status-pulse 2.2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .status-dot::after { animation: none; }
}
@keyframes status-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- 이미지 공통: 히어로 / 다크 / 라이트 목업 ---------- */
.hero-media,
.media-dark,
.media-light,
.quote-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  width: 100%;
}
/* 스크린샷/목업 이미지는 각 이미지의 실제 비율에 맞춰 HTML에서 개별적으로
   style="aspect-ratio: ..."를 지정합니다. (하나의 비율로 통일하면 이미지마다
   실제 비율이 달라서 빈 여백이 생기거나 잘리는 문제가 생겨요.) */
.hero-media img,
.media-dark img,
.media-light img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.quote-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media { background: var(--bg-soft); margin-top: 0; }
.media-dark { background: var(--bg-dark); }
.media-light { background: var(--bg-soft); flex-direction: column; }

/* 이미지가 없을 때(placeholder) 안내 문구 표시 */
.placeholder-label {
  display: none;
  position: absolute;
  color: var(--text-tertiary);
  font-size: 13px;
  text-align: center;
  padding: 0 32px;
}
.placeholder .placeholder-label { display: block; }

/* ---------- 인트로 문단 ---------- */
.intro { margin: 32px 0; font-size: 16px; }
.intro strong { font-weight: 600; }

.link-chip {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}
.link-chip:hover { background: var(--bg-soft); }

/* ---------- 메타 정보 그리드 ---------- */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 28px;
  column-gap: 24px;
  margin: 32px 0;
}
.meta-item { display: flex; flex-direction: column; gap: 6px; }
.meta-item--spacer { visibility: hidden; }
.meta-label {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: none;
}
.meta-value {
  font-size: 15px;
  color: var(--text-primary);
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* ---------- 인용구 이미지 ---------- */
.quote-media {
  background: var(--bg-dark);
  min-height: 260px;
  padding: 32px;
  text-align: center;
}
.quote-media blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
}
.quote-media img { position: absolute; inset: 0; opacity: 0.55; }

/* ---------- 본문 섹션 공통 ---------- */
.content-block { margin: 48px 0; }
.content-block h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 14px;
}
.content-block p { margin: 0 0 14px; font-size: 16px; color: var(--text-primary); }
.content-block p:last-child { margin-bottom: 0; }

.finding { margin: 20px 0; }
.finding h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.finding p { color: var(--text-secondary); font-size: 15.5px; margin: 0; }

/* ---------- 기능 카드 그리드 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  font-size: 14.5px;
}
.feature-icon { font-size: 20px; flex-shrink: 0; }

/* ---------- 세부 기능 블록 ---------- */
.detail-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
}
.detail-icon { font-size: 18px; }

.caption {
  font-size: 13px !important;
  color: var(--text-tertiary) !important;
}

/* ---------- 토글 스위치 (장식) ---------- */
.toggle-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  margin-top: 16px;
}
.toggle {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--text-primary);
  display: inline-flex;
  align-items: center;
  padding: 3px;
  flex-shrink: 0;
}
.toggle .toggle-knob {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  margin-left: auto;
}

/* ---------- 푸터 ---------- */
.page-footer {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--bg-page);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.footer-cta span { transition: transform 0.15s ease; }
.footer-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.footer-cta:hover span {
  transform: translateX(3px);
}
.footer-nav { display: flex; gap: 12px; }
.footer-nav a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
}
.footer-nav a:hover { background: var(--bg-soft); }

/* ---------- 반응형 (모바일) ---------- */
@media (max-width: 640px) {
  .page { padding: 24px 18px 64px; }
  .hero-header {
    flex-direction: column;
  }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .quote-media blockquote { font-size: 18px; }
}

/* =========================================
   Design Challenge Card
========================================= */

.design-challenge-card{
    margin-top:40px;
    padding:28px 30px;
    border:1px solid var(--line);
    border-radius:20px;
    background:var(--bg-soft);
}

.challenge-label{
    display:inline-block;
    margin-bottom:14px;

    font-size:12px;
    font-weight:600;
    letter-spacing:.12em;
    color:var(--text-tertiary);
}
.section-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--text-tertiary);
}
.pain-heading {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.design-challenge-card h3{
    margin:0 0 14px;

    font-size:28px;
    line-height:1.4;
    font-weight:600;
    letter-spacing:-0.03em;
}

.design-challenge-card p{
    margin:0;

    font-size:15px;
    color:var(--text-secondary);
    line-height:1.7;
}

.pain-list{
    margin:24px 0 0;
    padding-left:20px;
}

.pain-list li{
    margin-bottom:10px;
    color:var(--text-primary);
}

/* ===============================
   Research
================================ */

.research-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:32px;
    margin-top:48px;
}

.research-item{
    padding-top:20px;
    border-top:1px solid var(--line);
}

.research-number{
    display:block;
    margin-bottom:16px;

    font-size:14px;
    font-weight:600;
    color:var(--text-tertiary);
}

.research-item h3{
    margin-bottom:12px;

    font-size:22px;
    line-height:1.4;
}

.research-item p{
    color:var(--text-secondary);
    line-height:1.8;
}

@media (max-width:900px){

.research-grid{
    grid-template-columns:1fr;
}

}
/* ===========================
   Research Image
=========================== */

.research-media{
    margin:56px 0;
    padding:0;
    background:transparent;
    border:none;
    border-radius:0;
    box-shadow:none;
}

.research-media img{
    width:100%;
    height:auto;
    display:block;
    border-radius:18px;
}
/* =====================================================
   Research → Design Principles Flow
===================================================== */

.section-flow{

    display:flex;
    justify-content:center;
    margin:56px 0 48px;

}

.flow-line{

    width:140px;
    height:auto;

}

.flow-line path{

    fill:none;

    stroke:#111;

    stroke-width:2.2;

    stroke-linecap:round;

    stroke-linejoin:round;

    stroke-dasharray:8 8;

}

.hypothesis-list{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.hypothesis-item{
    padding-top:18px;
    border-top:1px solid #e5e5e5;
}

.hypothesis-item strong{
    display:block;
    font-size:18px;
    font-weight:700;
    color:#111;
    margin-bottom:8px;
}

.hypothesis-item p{
    margin:0;
    font-size:16px;
    line-height:1.75;
    color:#666;
}

/* ===========================
   UI Solution
=========================== */

.solution-section{

    margin:140px 0;

}

.solution-label{

    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:18px;

    font-size:13px;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;

    color:#8d8d8d;
}

.solution-title{

    max-width:720px;

    margin-bottom:18px;

    font-size:48px;
    line-height:1.18;
    font-weight:700;
}

.solution-description{

    max-width:720px;

    margin-bottom:60px;

    font-size:18px;
    line-height:1.7;

    color:#666;
}

.solution-image{

    position:relative;

    margin-bottom:56px;
}

.solution-image img{

    width:100%;

    border-radius:24px;

    display:block;
}

/* ---------- Pins ---------- */

.pin{

    position:absolute;

    width:34px;
    height:34px;

    border-radius:50%;

    background:#111;

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:15px;
    font-weight:700;
}

/* 위치는 나중에 이미지에 맞게 수정 */

.pin-1{

    top:22%;
    left:18%;
}

.pin-2{

    top:48%;
    left:58%;
}

.pin-3{

    bottom:18%;
    right:22%;
}

/* ---------- Points ---------- */

.solution-points{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:48px;
}

.solution-point{

    padding-top:18px;

    border-top:1px solid #e8e8e8;
}

.solution-point h3{

    margin-bottom:12px;

    font-size:20px;

    font-weight:700;
}

.solution-point p{

    font-size:16px;

    line-height:1.75;

    color:#666;
}