/* DigitalSync 브랜드 색: 남색 #0B1F3A, 파랑 #2F6BFF, 밝은 파랑 #6E9BFF */
:root {
  --navy: #0b1f3a;
  --blue: #2f6bff;
  --blue-light: #6e9bff;
  --slate: #4a566b;
  --line: #dde3ee;
  --paper: #f5f7fb;
  --white: #ffffff;
  --text: #0b1f3a;
  --muted: #56627a;
  --radius: 14px;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 145px; height: auto; }
.site-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 600; color: var(--slate); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle, .nav-button { display: none; }

/* 공통 */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: var(--blue); }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.15; letter-spacing: -.04em; font-weight: 800; margin-top: 16px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -.035em; font-weight: 800; margin-top: 10px; }
h3 { font-size: 20px; letter-spacing: -.025em; font-weight: 800; line-height: 1.35; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); margin-top: 22px; max-width: 640px; }
.hl { color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: background .15s, color .15s, border-color .15s; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: #1f57e6; }
.button.ghost { border: 1.5px solid var(--line); background: #fff; color: var(--navy); }
.button.ghost:hover { border-color: var(--blue); color: var(--blue); }
.section { padding: 96px 0; }
.section.alt { background: var(--paper); }
.section-head { margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 10px; }

/* 홈 히어로 */
.hero { background: linear-gradient(180deg, #f2f6ff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding: 110px 0 100px; }
.hero-mark { justify-self: center; }
.hero-mark img { width: min(320px, 70vw); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-mark img { animation: none; } }

/* 제품 카드 */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 31, 58, .1); border-color: var(--accent, var(--blue)); }
.product-cover { aspect-ratio: 1200 / 630; background: var(--accent-soft, var(--paper)); border-bottom: 1px solid var(--line); }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { background: #e7f6ee; color: #18794e; }
.status-beta { background: #eef3ff; color: var(--blue); }
.status-soon { background: #f0f2f5; color: var(--slate); }
.product-card h3 { font-size: 26px; margin-top: 14px; }
.product-tagline { font-weight: 700; color: var(--accent, var(--blue)); margin-top: 4px; }
.product-tagline.big { font-size: clamp(18px, 2.4vw, 22px); margin-top: 8px; }
.product-summary { color: var(--muted); font-size: 15px; margin-top: 12px; }
.more { margin-top: auto; padding-top: 20px; font-weight: 700; font-size: 15px; color: var(--accent, var(--blue)); }
.product-next { align-items: center; justify-content: center; text-align: center; padding: 48px 32px; border-style: dashed; background: var(--paper); min-height: 320px; }
.product-next .next-symbol img { opacity: .35; }
.product-next h3 { margin-top: 18px; color: var(--slate); }
.product-next p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 280px; }

/* 소개·원칙 */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.about .section-head { margin-bottom: 0; }
.about-body p { font-size: 18px; color: var(--muted); }
.about-body p + p { margin-top: 18px; }
.about-body strong { color: var(--navy); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles article { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: #fff; }
.principles article span { font-size: 13px; font-weight: 800; color: var(--accent, var(--blue)); letter-spacing: .1em; }
.principles article h3 { margin-top: 12px; }
.principles article p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* 하위 페이지 */
.page-hero { padding: 84px 0 64px; background: linear-gradient(180deg, #f2f6ff 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.product-hero { background: linear-gradient(180deg, var(--accent-soft, #f2f6ff) 0%, #fff 100%); }
.product-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-hero h1 { margin-top: 12px; }
.product-shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11, 31, 58, .14); }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--blue); font-weight: 600; }
.flow { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: step; }
.flow li { counter-increment: step; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; background: #fff; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent, var(--blue)); color: #fff; font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.audience { list-style: none; margin-top: 24px; }
.audience li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.audience li::before { content: "✓"; color: var(--accent, var(--blue)); font-weight: 800; margin-right: 12px; }
.systems { list-style: none; margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.systems li { border: 1px solid var(--line); border-radius: 10px; padding: 18px 14px; text-align: center; font-weight: 800; font-size: 17px; }
.systems li small { display: block; font-size: 12px; font-weight: 700; margin-top: 4px; }
.systems li.ready { background: var(--accent-soft, var(--paper)); border-color: transparent; }
.systems li.ready small { color: var(--accent, var(--blue)); }
.systems li.planned { color: var(--muted); }
.cta { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-top: 0; }
.cta p { color: #b8c3d9; margin-top: 10px; font-size: 15px; max-width: 560px; }
.cta .actions { margin-top: 0; }
.cta .button.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

/* 바닥글 */
.site-footer { background: var(--navy); color: #c9d3e6; padding: 64px 0 32px; }
.cta + .site-footer, main:has(.cta) + .site-footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer img { width: 145px; }
.footer-lead { margin-top: 14px; font-size: 15px; }
.company { display: grid; gap: 8px; font-size: 14px; }
.company div { display: flex; gap: 14px; }
.company dt { width: 100px; flex: none; color: #8a97b2; }
.copyright { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8a97b2; }

/* 휴대폰 */
@media (max-width: 860px) {
  .nav-button { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
  .nav-button span, .nav-button span::before, .nav-button span::after { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; content: ""; }
  .nav-button span::before { position: absolute; top: -7px; }
  .nav-button span::after { position: absolute; top: 7px; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .hero-inner, .product-hero-inner, .about, .two-col { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 0 56px; }
  .hero-mark { display: none; }
  .principles { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .actions .button { flex: 1 1 auto; }
  .company div { flex-direction: column; gap: 0; }
}
