/* DNA Labs — motodna.cloud 공통 스타일 (화이트 톤) */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-raise: #f5f5f7;
  --surface: #f5f5f7;
  --card: #ffffff;
  --border: #e8e8ed;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --accent: #0d94a8;
  --accent-bright: #3ec9db;
  --accent-blue: #2563eb;
  --point: #ef4444;
  --radius: 18px;
  --maxw: 1080px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 10px 36px rgba(0, 0, 0, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 22px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 800; font-size: 1.08rem; letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo img { width: 30px; height: 30px; display: block; }
.logo .labs {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent-blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-nav {
  margin-left: auto;
  display: flex; gap: 4px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  color: var(--muted); font-size: 0.92rem; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent); background: rgba(62, 201, 219, 0.12); }
@media (max-width: 640px) {
  .site-header .bar { flex-wrap: wrap; gap: 6px; padding: 12px 16px 6px; }
  .site-nav { order: 2; width: 100%; margin-left: -12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 75% 65% at 50% -15%, rgba(62, 201, 219, 0.12), transparent 62%),
    radial-gradient(ellipse 55% 45% at 88% 108%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--bg);
}
.hero .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 96px 22px 88px;
  text-align: center;
}
.hero .eyebrow {
  display: inline-block; margin-bottom: 20px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 14px; border: 1px solid rgba(13, 148, 168, 0.25); border-radius: 999px;
  background: rgba(62, 201, 219, 0.08);
}
.hero h1 {
  margin: 0 auto 18px; max-width: 780px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.16; font-weight: 800; letter-spacing: -0.025em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-bright), var(--accent-blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  margin: 0 auto 36px; max-width: 620px;
  color: var(--muted); font-size: 1.12rem;
}
.hero .btn-row { justify-content: center; }
.hero .store-badges { justify-content: center; }

/* page-level compact hero */
.page-hero { border-bottom: 1px solid var(--border); background: var(--bg-raise); }
.page-hero .inner { max-width: var(--maxw); margin: 0 auto; padding: 60px 22px 48px; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { margin: 0; color: var(--muted); max-width: 640px; font-size: 1.04rem; }
.crumb { font-size: 0.82rem; color: var(--faint); margin-bottom: 14px; }
.crumb a { color: var(--faint); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--text); color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}
.btn-primary:hover { background: #000; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid #d2d2d7; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn svg { flex: none; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-raise); border-block: 1px solid var(--border); }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head .kicker {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-head h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { margin: 0; color: var(--muted); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
a.card { color: var(--text); display: block; }
a.card:hover { text-decoration: none; box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62, 201, 219, 0.13); color: var(--accent);
  margin-bottom: 16px; font-size: 1.3rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.card .more { display: inline-block; margin-top: 14px; font-size: 0.88rem; font-weight: 700; color: var(--accent); }

/* ---------- Product badges ---------- */
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 999px; vertical-align: 2px; margin-left: 8px;
}
.badge.live { color: #1a7f37; background: #e7f6ec; border: 1px solid #b8e3c5; }
.badge.soon { color: #9a6700; background: #fff6df; border: 1px solid #f0d98c; }
.product-card .platforms { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  padding: 30px 0; border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .icon {
  width: 54px; height: 54px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62, 201, 219, 0.13);
}
.feature-row h3 { margin: 0 0 6px; font-size: 1.14rem; letter-spacing: -0.01em; }
.feature-row p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.feature-row .tags { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  background: rgba(62, 201, 219, 0.1); border: 1px solid rgba(13, 148, 168, 0.22);
  padding: 3px 11px; border-radius: 999px;
}

/* ---------- Stats / values ---------- */
.value-list { display: grid; gap: 16px; }
.value-list .item {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  align-items: start;
}
.value-list .dot {
  width: 26px; height: 26px; border-radius: 50%; margin-top: 3px;
  background: rgba(62, 201, 219, 0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800;
}
.value-list h3 { margin: 0 0 4px; font-size: 1.02rem; }
.value-list p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Timeline (news) ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.timeline .entry { position: relative; padding: 0 0 44px; }
.timeline .entry:last-child { padding-bottom: 0; }
.timeline .entry::before {
  content: ""; position: absolute; left: -26px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-blue));
  box-shadow: 0 0 0 4px rgba(62, 201, 219, 0.18);
}
.timeline time { font-size: 0.84rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; }
.timeline h3 { margin: 6px 0 8px; font-size: 1.14rem; letter-spacing: -0.01em; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.timeline ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.93rem; }
.timeline li { margin-bottom: 4px; }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 0; margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
details.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--accent);
  transition: transform 0.15s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .body { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }
details.faq .body p { margin: 0 0 10px; }
details.faq .body p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-card {
  background: linear-gradient(135deg, rgba(62, 201, 219, 0.1), rgba(37, 99, 235, 0.06)), #fff;
  border: 1px solid rgba(13, 148, 168, 0.2); border-radius: var(--radius);
  padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-card h2 { margin: 0 0 10px; font-size: 1.4rem; letter-spacing: -0.01em; }
.contact-card p { color: var(--muted); margin: 0 0 24px; }
.email-big {
  font-size: clamp(1.05rem, 3vw, 1.4rem); font-weight: 800; color: var(--accent);
  word-break: break-all;
}

/* ---------- Brand page ---------- */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.swatch { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.swatch .chip { height: 74px; }
.swatch .meta { padding: 10px 12px; font-size: 0.82rem; background: var(--card); }
.swatch .meta strong { display: block; font-size: 0.86rem; }
.swatch .meta code { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.logo-stage {
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px; background: var(--bg-raise);
}
.logo-stage.dark { background: #29292b; }
.logo-stage.light { background: var(--bg-raise); }
.logo-stage img { width: 120px; height: 120px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 70% 100% at 50% 130%, rgba(62, 201, 219, 0.14), transparent 65%),
    var(--bg-raise);
}
.cta-band .inner { max-width: var(--maxw); margin: 0 auto; padding: 76px 22px; text-align: center; }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { margin: 0 0 28px; color: var(--muted); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-raise); }
.site-footer .cols {
  max-width: var(--maxw); margin: 0 auto; padding: 52px 22px 22px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px;
}
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.site-footer .brand img { width: 26px; height: 26px; }
.site-footer .desc { color: var(--muted); font-size: 0.88rem; max-width: 260px; }
.site-footer h4 {
  margin: 0 0 12px; font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer li a { color: var(--muted); font-size: 0.92rem; }
.site-footer li a:hover { color: var(--accent); }
.site-footer .legal {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 22px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--faint); font-size: 0.84rem;
}

/* ---------- Utility ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.note {
  background: var(--bg-raise); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 16px 18px; color: var(--muted); font-size: 0.92rem;
}
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid #d2d2d7; border-radius: 14px;
  padding: 14px 22px; color: var(--text); min-width: 210px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.store-badge:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.store-badge .small { display: block; font-size: 0.74rem; color: var(--muted); }
.store-badge .big { display: block; font-size: 1.05rem; font-weight: 800; }
.store-badge svg { width: 30px; height: 30px; flex: none; }
