/* 공용 제품 홈페이지 틀 — 기준 결과물: movilane.com (movilane/site/)
   고치는 곳은 바로 아래 :root 색 블록 하나뿐이다. 나머지(크기·간격·배치·글꼴)는 모든 제품이 똑같다.
   규칙: common/docs/agent-rules.md "Product Homepage", 안내: common/docs/homepage-guide.md */

/* ── 제품 색 (여기만 고친다) — 2026-12-02 ── */
:root {
  /* 크림 바탕 + 장밋빛 글자 강조 + 귀 분홍 — 밝은 느낌, 분홍도 (2026-12-02 사용자 "분홍도 넣고") (2026-12-02 사용자 "이 앱은 밝은 느낌이 좋지 않을까?") */
  --bg: #FAF6EF;
  --bg-top: #FFFFFF;
  --hero-glow: rgba(242, 167, 176, .38);
  --alt-mid: #FBECEE;
  --card: #FFFFFF;
  --line: #EBDCD8;
  --ink: #27303B;
  --ink-soft: #5F6773;
  --accent: #C24F61;
  --accent-hover: #AD4254;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(194, 79, 97, .10);
  --accent-2: #F2A7B0;
  --accent-2-ink: #3A1A20;
  --header-bg: rgba(250, 246, 239, .85);
  --footer-bg: #27303B;
  --footer-ink: #FFFFFF;
  --footer-soft: #C9CED6;
  --footer-small: #8F96A1;
  --dl-bg: #27303B;
  --dl-ink: #FAF6EF;
  --dl-line: rgba(39, 48, 59, .3);
  --fig-ink: #384352;
  --fig-dim: #A7AFBB;
}
/* ── 여기부터는 고치지 않는다 ── */

:root { --radius: 22px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  /* 글자를 끌어서 선택하지 못하게 (2026-12-02 사용자 요청) */
  -webkit-user-select: none;
  user-select: none;
}

a { color: var(--accent); }
img { display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.brand svg { width: 40px; height: auto; }
.top nav { display: flex; align-items: center; gap: 24px; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  border: 2px solid var(--line); color: var(--ink); background: transparent; white-space: nowrap;
}
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:not(.solid):hover { background: var(--card); border-color: var(--accent); }
.top .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* hero */
.hero { background: radial-gradient(ellipse at 50% 0%, var(--hero-glow), transparent 60%), linear-gradient(180deg, var(--bg-top), var(--bg)); text-align: center; padding: 96px 0 88px; }
.hero .hero-fig { width: min(520px, 92vw); height: auto; margin: 0 auto 32px; display: block; }
.hero h1 { text-wrap: balance; font-size: clamp(40px, 7vw, 68px); line-height: 1.18; letter-spacing: -.03em; font-weight: 800; margin: 0; }
.hero h1 em { font-style: normal; position: relative; isolation: isolate; }
.hero h1 em .g { color: var(--accent); }
.hero p.lead { color: var(--ink-soft); font-size: clamp(18px, 2.2vw, 21px); max-width: 560px; margin: 28px auto 36px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dl {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; text-decoration: none;
  cursor: default; user-select: none;
}
a.dl { cursor: pointer; }
.dl svg { width: 22px; height: 22px; flex: none; }
.dl-1 { background: var(--dl-bg); color: var(--dl-ink); }
.dl-2 { background: transparent; color: var(--ink); border-color: var(--dl-line); }
.dl .soon {
  font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0;
  margin-left: 2px; opacity: .5;
}
.hero .note { margin-top: 26px; color: var(--ink-soft); font-size: 14px; }

/* sections */
section.block { padding: 88px 0; scroll-margin-top: 68px; }
.eyebrow { display: block; text-align: center; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.block h2 { text-align: center; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.25; letter-spacing: -.02em; font-weight: 800; margin: 10px 0 12px; }
.block .sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 48px; }

.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 940px; display: grid; gap: 40px; grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px; text-align: center; }
.steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -32px; top: 50%; transform: translateY(-50%);
  color: var(--accent-2); font-size: 24px; font-weight: 700;
}
.steps li h3 { margin: 0; }
.steps li p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.steps .step-fig { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto 10px; }
.steps .num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-2); color: var(--accent-2-ink); font-weight: 800; margin-bottom: 14px;
}
.steps h3, .features h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.steps p, .features p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.features { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.features > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.features .fart { margin: -4px 0 14px; }
.features .fig { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 auto; }

.alt { background: linear-gradient(180deg, var(--bg), var(--alt-mid) 50%, var(--bg)); }

/* faq */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--ink-soft); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--ink-soft); }

/* footer */
footer { background: var(--footer-bg); border-top: 1px solid var(--line); color: var(--footer-soft); text-align: center; padding: 72px 0 40px; }
footer .big { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.02em; color: var(--footer-ink); line-height: 1.3; margin: 0 0 32px; }
footer .big span { color: var(--accent); }
footer .links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: 15px; }
footer .links a { color: var(--footer-soft); text-decoration: none; }
footer .links a:hover { color: var(--footer-ink); }
footer small { display: block; margin-top: 18px; color: var(--footer-small); font-size: 13px; }

/* document page (개인정보처리방침 등) */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 20px 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 42px); letter-spacing: -.02em; line-height: 1.25; margin: 0 0 6px; }
.doc h2 { font-size: 21px; margin: 40px 0 8px; letter-spacing: -.01em; }
.doc .meta { color: var(--ink-soft); font-size: 15px; margin: 0; }
.doc .summary { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 18px; padding: 20px 24px; margin: 28px 0 0; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc code { background: var(--card); border-radius: 6px; padding: 1px 6px; font-size: .92em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 72px 0 56px; }
.lang-tabs { display: flex; gap: 8px; margin: 20px 0 0; }
.lang-tabs a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top nav .hide-sm { display: none; }
  .dl { width: 100%; max-width: 330px; justify-content: center; padding: 0 20px; font-size: 18px; }
  .hero { padding: 64px 0 64px; }
  section.block { padding: 64px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .steps { gap: 36px; max-width: 320px; }
  .steps li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -32px; transform: translateX(-50%); }
  .steps li { padding: 22px 16px; }
  .features > div { padding: 22px; }
}
