/* site_refine_v4.css — 2026-06-03 고도화 레이어 (additive, 마지막 로드).
   방향: "Quiet craft" — 정제된 editorial calm. 시끄러운 생산성 앱의 정반대.
   디스플레이 serif(Fraunces)로 헤딩 격상 + 정제된 타입스케일·여백·미세 디테일.
   기존 CSS 미파괴, 동일 selector 덮어쓰기. */

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ink: #20271f;
  --ink-soft: #4a5446;
  --ink-faint: #5c6553;
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --line-soft: #e2ddd1;
  --accent: var(--c-sage-600, #4e6f5b);
  --accent-deep: var(--c-sage-700, #2f4a3a);
}

/* ---- Atmosphere: warm paper + the faintest grain for depth ---- */
body {
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ---- Display typography: the single biggest lift ---- */
h1, h2, h3, h4,
.hero h1, .section-head h2, .product-card-title, .card h3,
.post-header h1, .product-detail-head h1, .hero-featured-title,
.newsletter h3, .ui-mockup-head h3, .axis-label, .product-line-head h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 460;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.hero h1, .product-detail-head h1, .post-header h1 {
  font-weight: 480;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
}
.hero h1 em, .post-header h1 em, .product-detail-head h1 em {
  font-style: italic;
  font-weight: 460;
  color: var(--accent-deep);
}

.section-head h2, .product-line-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.018em;
}

/* Body type refinement */
body, p, li, .product-card-desc, .hero p, .section-sub {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}
.hero p, .section-sub, .muted {
  color: var(--ink-soft);
  line-height: 1.62;
}
.hero p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 46ch; }

/* Eyebrows / kickers: quiet, lettered, mono */
.kicker, .hero-featured-eyebrow, .product-line-count, .axis-label,
.trust-strip-v3 span, .lp-num, .ui-mockup-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-faint);
}

/* ---- Hero: more air, a hairline, calmer ---- */
.hero { padding-top: clamp(2.2rem, 6vw, 4.5rem); padding-bottom: clamp(1.8rem, 4vw, 3rem); }
.hero-trust, .hero-trust-list { color: var(--ink-faint); }

/* ---- Trust strip: a single calm rule, lettered ---- */
.trust-strip-v3 {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
}
.trust-strip-v3 .trust-eli {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: -0.01em;
  font-style: italic;
  font-size: 0.98rem;
  color: var(--accent-deep);
}

/* ---- Buttons: confident, soft, with a quiet lift ---- */
.cta {
  background: var(--accent-deep);
  color: #f7f4ec;
  border-radius: 10px;
  font-weight: 540;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.cta:hover {
  background: #26402f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(31,55,42,0.55);
}
.btn-ghost {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--ink-soft);
  background: transparent;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: rgba(78,111,91,0.05); }

/* ---- Cards: refined edges, real shadow on hover, a craft lift ---- */
.card, .product-card, .hero-featured-card, .post-related-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fbf9f3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover, .product-card:hover, .hero-featured-card:hover, .post-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(31,55,42,0.45);
  border-color: #d4cdbd;
}
.product-card-title, .card h3, .hero-featured-title { font-size: 1.16rem; line-height: 1.22; }
.product-card-price { font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--accent-deep); letter-spacing: -0.01em; }
.product-card-cta, .card-go, .product-card .product-card-cta { color: var(--accent); font-weight: 540; }

/* ---- Links in prose: a quiet underline that wakes on hover ---- */
.post p a, .section-sub a, .store-link a:not(.cta), .hero-direct a, main article a:not(.cta):not(.btn) {
  color: var(--accent-deep);
  text-decoration-color: rgba(78,111,91,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease;
}
.post p a:hover, main article a:not(.cta):not(.btn):hover { text-decoration-color: var(--accent-deep); }

/* ---- Blog reading: editorial measure + display subheads ---- */
.post .post-header h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.post p, .post li { line-height: 1.72; color: #2b3128; font-size: 1.06rem; }
.post h2, .post h3 { font-family: var(--font-display); letter-spacing: -0.012em; margin-top: 2.2em; }
.post h2 { font-size: 1.5rem; }
article.post { max-width: 44rem; }

/* ---- Footer CTA (newsletter): warm, distinct ---- */
.newsletter h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: inherit; }

/* ---- Page-load: one quiet staggered reveal on the hero ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
  .hero > .hero-inner > p, .hero-actions { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: 0.08s; }
  .hero-trust-list { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; animation-delay: 0.14s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
