/* PlanLog 사이트. 앱 아이콘 색(남색 #13234a, 주황 #ff8a00, 파랑 #4a90e2)을 기준으로 한다.
   외부 글꼴·스크립트 없이 시스템 글꼴만 쓴다. */
:root {
  --bg: #ffffff; --bg-soft: #f6f7fb; --surface: #ffffff; --fg: #0f172a; --muted: #5b6475; --line: #e6e8ef;
  --navy: #13234a; --accent: #ff8a00; --accent-ink: #c25e00; --blue: #4a90e2;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .10);
  --radius: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0f1a; --bg-soft: #111827; --surface: #151c2c; --fg: #eef1f7; --muted: #a3acbd; --line: #263045;
    --accent-ink: #ffb25c; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.45); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Hiragino Sans", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:lang(ko) { word-break: keep-all; }
a { color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; }

/* 머리글 */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.logo { width: 30px; height: 30px; flex: none; }
.brand.small .logo { width: 24px; height: 24px; }
nav.links { display: flex; gap: 18px; margin-left: auto; font-size: .93rem; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--fg); }
nav.lang { display: flex; gap: 2px; font-size: .85rem; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
nav.lang a { text-decoration: none; color: var(--muted); padding: 4px 10px; border-radius: 999px; }
nav.lang a[aria-current="page"] { color: var(--fg); background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
@media (max-width: 720px) { nav.links { display: none; } nav.lang { margin-left: auto; } }

/* 버튼 */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; }
.btn svg { width: 20px; height: 20px; }
.btn.primary { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { background: #fff; color: var(--navy); } }
.btn.ghost { color: var(--fg); border-color: var(--line); background: var(--surface); }
.btn[aria-disabled="true"] { cursor: default; }

/* 첫 화면 */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 5vw, 72px); background:
  radial-gradient(60% 60% at 85% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
  radial-gradient(50% 50% at 10% 90%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%); }
.grid2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 12px; border-radius: 999px; margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), #ff5f6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.05rem, .95rem + .5vw, 1.25rem); color: var(--muted); margin: 20px 0 28px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.trust li, .checks li { display: flex; align-items: flex-start; gap: 8px; }
.trust svg, .checks svg { width: 18px; height: 18px; flex: none; color: #22a06b; margin-top: 3px; }
.hero-media { display: flex; justify-content: center; }

/* 휴대폰 화면 */
.phone { margin: 0; width: min(330px, 70vw); border-radius: 44px; padding: 10px; background: #0b0b0f; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.06) inset; }
.phone img { border-radius: 35px; width: 100%; }
.phone.tilt { transform: rotate(-3deg); }
@media (prefers-reduced-motion: no-preference) { .phone.tilt { transition: transform .4s ease; } .phone.tilt:hover { transform: rotate(0); } }

/* 기능 */
.feature { padding: clamp(48px, 7vw, 96px) 0; }
.feature:nth-child(even) { background: var(--bg-soft); }
.feature .media { display: flex; justify-content: center; }
.feature.flip .copy { order: 2; }
.kicker { font-weight: 700; color: var(--accent-ink); letter-spacing: .08em; margin: 0 0 10px; font-size: .9rem; }
.feature p { color: var(--muted); font-size: 1.08rem; max-width: 32em; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }

/* 사용 순서 */
.steps { padding: clamp(56px, 7vw, 96px) 0; }
.steps ol { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 8px 0 0; }

/* 가격 */
.pricing { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg-soft); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 20px; margin: 36px 0 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.plan.pro { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 2px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.note { color: var(--accent-ink); font-weight: 600; font-size: .92rem; margin: 0 0 8px; }

/* 자주 묻는 질문 */
.faq { padding: clamp(56px, 7vw, 96px) 0; }
details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* 문의 */
.contact { padding: clamp(56px, 7vw, 96px) 0; background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .muted { color: #c6cde0; margin-bottom: 26px; }
.contact .btn.primary { background: var(--accent); color: #fff; }

/* 문서(개인정보 처리방침) */
.doc { padding: clamp(40px, 6vw, 80px) 20px; max-width: 820px; }
.doc h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.doc .lede { color: var(--fg); }
.table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 32%; font-weight: 600; background: var(--bg-soft); }
.dots { padding-left: 1.2em; }

/* 바닥글 */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: .88rem; }
.foot { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--muted); }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .grid2 { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
  .hero .copy, .feature .copy { text-align: left; }
  .steps ol, .plans { grid-template-columns: 1fr; }
  th { width: 38%; }
}
@media (max-width: 520px) { th, td { display: block; width: 100%; } th { border-bottom: 0; padding-bottom: 4px; } td { padding-top: 4px; } }
