/* OsonDauSon 랜딩 공용 스타일 — SMK Labs
 * 모바일 앱 색상 토큰에 맞춘 라이트 모드 전용 테마.
 * Primary: #EC4899 (핑크), BG: #FFF9F5 (크림), Text: #4A3F35 (브라운)
 */

:root {
  color-scheme: light only;

  --primary: #EC4899;
  --primary-dark: #BE185D;
  --primary-soft: #FCE7F3;
  --accent: #F59E0B;
  --accent-soft: #FFF7ED;

  --bg: #FFF9F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #FDF4EE;
  --border: #F3E8E0;

  --text: #4A3F35;
  --text-secondary: #6B5B4F;
  --text-muted: #8B7F74;

  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 960px;
  --shadow: 0 6px 24px rgba(236, 72, 153, 0.08);
  --shadow-lg: 0 12px 32px rgba(236, 72, 153, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR",
    "Apple SD Gothic Neo", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 249, 245, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(
    ellipse at top,
    var(--primary-soft) 0%,
    transparent 65%
  );
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  display: block;
  border-radius: 24px;
  background: var(--bg-card);
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--text);
}

.hero .tagline {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s;
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.22);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Sections */
section {
  padding: 60px 0;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--text);
}

h3 {
  font-size: 18px;
  margin: 24px 0 10px;
  font-weight: 700;
  color: var(--text);
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* AI disclaimer box */
.ai-notice {
  background: var(--accent-soft);
  border: 1px solid #FED7AA;
  color: #8B6914;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
}

.ai-notice-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

/* Download CTA */
.download-lede {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 520px;
}

.download-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 520px;
}

.download-note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-note a:hover {
  color: var(--primary);
}

/* Legal document pages */
.legal-page {
  padding: 48px 0 80px;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.legal-content .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  padding-top: 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 17px;
  margin: 22px 0 8px;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li > ul,
.legal-content li > ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
  font-weight: 700;
}

.legal-content .table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.legal-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 520px;
}

.legal-content table thead tr {
  background: var(--primary-soft);
}

.legal-content th,
.legal-content td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-content th:last-child,
.legal-content td:last-child {
  border-right: none;
}

.legal-content tr:last-child td {
  border-bottom: none;
}

.legal-content th {
  font-weight: 600;
  color: var(--text);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.legal-content blockquote {
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  margin: 16px 0 24px;
  color: var(--text);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-content blockquote p {
  margin-bottom: 6px;
}

.legal-content blockquote p:last-child {
  margin-bottom: 0;
}

.legal-content code {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--primary-dark);
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 24px;
}

.lang-switch a {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
  background: var(--bg-card);
}

.lang-switch a.active,
.lang-switch a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* SMK Labs brand strip (above footer) */
.smk-brand {
  padding: 56px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.smk-brand-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 원본 SMK_logo.png 는 그레이 배경에 네온 halo 가 구워진 이미지라
 * 작은 사각 카드에 `cover` 로 넣으면 halo 만 보이게 된다.
 * 카드 배경을 로고 배경과 동일한 진회색으로 깔고 `contain` 으로 들여놓아
 * 하트 마크가 중앙에 또렷하게 보이도록 한다. */
.smk-brand-logo {
  width: 128px;
  height: 128px;
  border-radius: 24px;
  flex-shrink: 0;
  background: #2E3136;
  box-shadow: 0 10px 30px rgba(46, 49, 54, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.smk-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.smk-brand-copy {
  flex: 1;
  min-width: 0;
}

.smk-brand-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.smk-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.smk-brand-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .smk-brand {
    padding: 40px 0;
  }
  .smk-brand-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .smk-brand-logo {
    width: 104px;
    height: 104px;
    border-radius: 22px;
  }
  .smk-brand-name {
    font-size: 20px;
  }
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--bg);
}

.site-footer a {
  color: var(--text-muted);
  margin: 0 10px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
}

.site-footer .copyright {
  margin-top: 16px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 640px) {
  .hero {
    padding: 48px 0 40px;
  }
  .hero-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .tagline {
    font-size: 16px;
  }
  .legal-content {
    padding: 28px 20px;
  }
  .legal-content h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 22px;
  }
  .nav {
    gap: 12px;
    font-size: 13px;
  }
  .brand-name {
    font-size: 16px;
  }
  .brand-sub {
    font-size: 11px;
  }
}
