/* daypoint.co.kr 일반 페이지 모양 (결정 748): 첫 화면 · 계정 삭제 · 문의 · 404. 법률 페이지는 site.css를 그대로 써요
   앱과 같은 색(src/theme.ts night): 바탕 #050B18, 판 #0E1830, 선 #1E2B47, 글자 흰색 · #CBD4E6 · #8E9BB8, 강조 청록 #2FBFA8
   글꼴 DP Suit = SUIT 부분집합(fonts-suit.css, scripts/web/suit-fonts.py). 그라데이션, 그림자, 반짝이, 장식 아이콘 없음 */
:root {
  color-scheme: dark;
  --bg: #050b18;
  --panel: #0e1830;
  --line: #1e2b47;
  --text: #ffffff;
  --soft: #cbd4e6;
  --muted: #8e9bb8;
  --teal: #2fbfa8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DP Suit', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
.nw { white-space: nowrap; }
.in { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--panel); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* 머리: 로고와 언어 링크만 */
header.top { border-bottom: 1px solid var(--line); }
header.top .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-d { width: 22px; height: 24px; flex: none; }
.lang { display: flex; gap: 18px; font-size: 14px; }
.lang a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.lang a:hover { color: var(--text); }
.lang a[aria-current="page"] { color: var(--text); font-weight: 700; border-bottom: 2px solid var(--teal); }

/* 첫 화면 머리 칸 */
.hero { padding: 48px 0 40px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: 32px; line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 15em; }
.lead { color: var(--soft); font-size: 18px; margin: 0 0 6px; max-width: 34em; }
.note { color: var(--muted); font-size: 15px; margin: 22px 0 0; padding-left: 14px; border-left: 2px solid var(--teal); max-width: 34em; }
.cta { margin: 28px 0 0; }
.button { display: inline-block; background: var(--teal); color: var(--bg); font-weight: 700; text-decoration: none; padding: 12px 22px; border-radius: 12px; }
.hero-mark { display: none; }
.big-d { width: 200px; height: auto; opacity: 0.9; }

/* 칸: 제목 왼쪽, 내용 오른쪽 (휴대폰은 위아래) */
.band { border-top: 1px solid var(--line); padding: 40px 0; }
.split { display: grid; gap: 16px; }
.band h2 { font-size: 22px; line-height: 1.3; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.body p { color: var(--soft); margin: 0 0 12px; max-width: 40em; }
.body .more { color: var(--muted); font-size: 15px; margin-top: 18px; }

ul.lines { list-style: none; margin: 0; padding: 0; max-width: 40em; }
ul.lines li { color: var(--soft); padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.lines li:first-child { padding-top: 0; }
ul.lines li:last-child { border-bottom: 0; }

ul.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
ul.tiles li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
ul.tiles h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
ul.tiles p { color: var(--soft); font-size: 15px; margin: 0; }

.shot { margin: 0; }
.shot img { width: 260px; border-radius: 22px; border: 1px solid var(--line); }

/* 안내 글 (계정 삭제, 문의, 404) */
.doc { padding: 36px 0 56px; }
.narrow { max-width: 760px; }
.doc h1 { font-size: 30px; line-height: 1.25; font-weight: 800; margin: 0 0 16px; letter-spacing: -0.02em; }
.doc h2 { font-size: 21px; line-height: 1.35; font-weight: 800; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--soft); }
.doc p { margin: 0 0 12px; }
.doc strong { color: var(--text); }
.doc ol, .doc ul.plain { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .more { color: var(--muted); font-size: 15px; margin-top: 28px; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 16px 0 20px; }
.box p { margin: 6px 0; }
.table { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; }
th:nth-child(2), td:nth-child(2) { white-space: nowrap; }
td { color: var(--soft); }

/* 바닥 글: 약관 링크와 사업자 정보 */
.foot { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 13px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; font-size: 14px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot nav a.strong { color: var(--text); font-weight: 700; }
.foot p { margin: 4px 0; }
.foot p a { color: var(--soft); }

@media (min-width: 860px) {
  .in { padding: 0 32px; }
  .hero { padding: 88px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; }
  .hero h1 { font-size: 48px; }
  .lead { font-size: 20px; }
  .hero-mark { display: flex; justify-content: center; }
  .band { padding: 56px 0; }
  .split { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
  .split > .shot { grid-column: 2; }
  .split:has(> .shot) { grid-template-columns: 240px minmax(0, 1fr) 260px; }
  .split:has(> .shot) > .shot { grid-column: 3; }
  ul.tiles { grid-template-columns: 1fr 1fr; gap: 16px; }
  .doc { padding: 56px 0 72px; }
  .doc h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
