/* 동행 홈페이지 — 앱과 같은 색 (src/core/theme/tokens.ts) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --bg: #FFF8F5;
  --card: #FFFFFF;
  --surface: #FFF0EA;
  --text: #2A1F23;
  --muted: #6E5D63;
  --line: #F1E5E0;
  --primary: #CF2E6E;
  --primary-deep: #B81F5C;
  --primary-soft: #FDE8EF;
  --leaf: #1E7A50;
  --leaf-soft: #E4F5EB;
  --shadow: 0 10px 30px rgba(140, 58, 82, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  word-break: keep-all;
}
a { color: var(--primary-deep); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* 머리 */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 245, 0.88); backdrop-filter: blur(12px); 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; text-decoration: none; color: var(--text); font-weight: 800; font-size: 22px; letter-spacing: -0.5px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--primary-deep); }

/* 첫 화면 */
.hero { padding: 88px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, #FFE1E8 0%, rgba(255,225,232,0) 60%), radial-gradient(900px 420px at -10% 10%, #FFEBDD 0%, rgba(255,235,221,0) 55%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep); font-weight: 700; font-size: 14px; }
h1 { font-size: 52px; line-height: 1.22; letter-spacing: -1.6px; margin: 20px 0 18px; }
h1 em { font-style: normal; background: linear-gradient(120deg, #CF2E6E, #F0567E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; }
.btn.primary { background: linear-gradient(120deg, #CF2E6E, #F0567E); color: #fff; box-shadow: 0 12px 26px rgba(207, 46, 110, 0.28); }
.btn.ghost { background: var(--card); color: var(--primary-deep); border: 1px solid var(--line); }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.phone { justify-self: center; width: 300px; border-radius: 40px; padding: 14px; background: #1F1418; box-shadow: 0 30px 60px rgba(80, 30, 50, 0.25); }
.screen { border-radius: 30px; overflow: hidden; background: var(--bg); padding: 22px 18px 26px; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 800; }
.screen .chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-deep); }
.pcard { border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.pcard .photo { height: 230px; background: linear-gradient(160deg, #FFD3C4 0%, #F6A4B8 55%, #CF2E6E 100%); display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.pcard .photo strong { font-size: 20px; display: block; }
.pcard .photo span { font-size: 13px; opacity: 0.92; }
.pcard .body { padding: 14px 16px 16px; font-size: 13px; color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--text); }
.heart { display: block; text-align: center; padding: 12px; border-radius: 999px; background: linear-gradient(120deg, #CF2E6E, #F0567E); color: #fff; font-weight: 800; }

/* 구역 */
section { padding: 80px 0; }
.sec-title { text-align: center; margin-bottom: 44px; }
.sec-title h2 { font-size: 36px; letter-spacing: -1px; margin: 0 0 10px; }
.sec-title p { color: var(--muted); margin: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.card .ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); margin-bottom: 18px; }
.card .ic.leaf { background: var(--leaf-soft); }
.card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.4px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.safety { background: linear-gradient(180deg, #FFF 0%, var(--bg) 100%); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step h4 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* 요금제 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 2px solid transparent; }
.plan.best { border-color: var(--primary); position: relative; }
.plan.best::after { content: '가장 많이 고르는'; position: absolute; top: -14px; left: 28px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 22px; }
.price { margin: 14px 0 4px; font-size: 30px; font-weight: 800; letter-spacing: -0.8px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; }
.sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; font-size: 15px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }
.plan li.off { color: #A3959A; }
.plan li.off::before { border-color: #D8CCD0; }
.soon { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--muted); }
.plans-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }

/* 문서(약관) */
.doc { max-width: 820px; margin: 48px auto 80px; background: var(--card); border-radius: var(--radius); padding: 48px 52px; box-shadow: var(--shadow); }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; padding-top: 6px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { font-size: 16px; }
.doc ol, .doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
.doc .box { background: var(--surface); border-radius: 14px; padding: 16px 18px; margin: 14px 0; }

/* 바닥 */
footer { background: #2A1F23; color: #D9CDD1; padding: 48px 0 56px; font-size: 14px; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
footer .links a { color: #fff; text-decoration: none; font-weight: 700; }
footer .biz { line-height: 1.9; }
footer .biz span { white-space: nowrap; margin-right: 14px; }
footer .copy { margin-top: 16px; color: #9C8C92; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  h1 { font-size: 38px; }
  .grid3, .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .doc { padding: 32px 22px; margin: 24px 12px 60px; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
