/* 심리미팅 AI 안내 페이지 시안 공용
   색·모양은 운영 안내 페이지(/match/users-waiting) 그림에서 추출, 캐릭터·아이콘은 같은 그림에서 잘라 img/ 에 둠 */
@import url("https://fonts.googleapis.com/css2?family=Jua&family=Noto+Sans+KR:wght@400;500;700;900&display=swap");
:root{
  --page:#f8f8fa; --cream:#faf1d2; --sun1:#ffefcc; --sun2:#ffd87d; --star:#ffcc00;
  --blue:#0d85fd; --blue2:#8fc3e8; --link:#2b7cf2; --btn:#1867c0; --card:#eff8ff; --pill:#d2e6e4;
  --pink:#ff0a8c; --hl:#ffe761; --ink:#3c3b38; --title:#595856; --body:#6f6d66;
}
*{ box-sizing:border-box; }
body{ margin:0; background:var(--page); color:var(--ink); font-family:"Noto Sans KR",-apple-system,"Apple SD Gothic Neo",sans-serif; line-height:1.6; word-break:keep-all; -webkit-font-smoothing:antialiased; }
.app{ max-width:580px; margin:0 auto; background:var(--cream); min-height:100vh; padding-bottom:84px; overflow:hidden; position:relative; }
h1,h2,h3,p,ol,ul,dl,dd{ margin:0; padding:0; } ol,ul{ list-style:none; }
img{ display:block; max-width:100%; }

/* 위 막대, 아래 고정 버튼 — 운영 화면과 동일 */
.bar{ position:sticky; top:0; z-index:20; height:52px; background:#fff; display:flex; align-items:center; gap:22px; padding:0 20px; font-weight:700; font-size:16px; }
.bar a{ color:inherit; display:grid; } .bar svg{ width:22px; height:22px; }
.dock{ position:fixed; left:50%; transform:translateX(-50%); bottom:0; width:100%; max-width:580px; background:#fff; padding:14px 16px; z-index:30; }
.cta{ display:flex; align-items:center; justify-content:center; width:100%; min-height:50px; border-radius:5px; background:var(--btn); color:#fff; font:700 16px/1.2 "Noto Sans KR",sans-serif; letter-spacing:.5px; text-decoration:none; box-shadow:0 3px 5px rgba(0,0,0,.2); }

/* 첫 화면: 노랑 반원 */
.hero{ position:relative; text-align:center; padding:44px 20px 58px; background:linear-gradient(180deg,var(--sun1) 0,#ffe7ae 55%,var(--sun2) 100%); border-radius:0 0 50% 50% / 0 0 110px 110px; }
.spark{ position:absolute; background:var(--star); clip-path:polygon(50% 0,56% 44%,100% 50%,56% 56%,50% 100%,44% 56%,0 50%,44% 44%); }
.hero h1{ font-family:"Jua","Noto Sans KR",sans-serif; font-weight:400; font-size:36px; line-height:1.24; letter-spacing:-.5px; }
.hero h1 span{ display:block; -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero h1 .g1{ background-image:linear-gradient(90deg,#8f62d8,#e52bb8); }
.hero h1 .g2{ background-image:linear-gradient(90deg,#1fb4e8,#5a7fe8 55%,#a45fd8); }
.hero .sub{ margin-top:14px; font-size:18px; font-weight:700; color:var(--link); }
.hero .chars{ margin:26px auto 0; width:86%; }

/* 크림 구간 */
.sec{ position:relative; padding:46px 26px; text-align:center; }
.sec h2{ font-family:"Jua","Noto Sans KR",sans-serif; font-weight:400; font-size:27px; line-height:1.3; color:var(--pink); letter-spacing:-.3px; }
.sec .lead{ margin-top:12px; font-size:16.5px; color:var(--body); line-height:1.6; }
.ring{ position:absolute; width:26px; height:26px; border:3.5px dashed #f7b6d8; border-radius:50%; }
.deco{ position:absolute; }
.checks{ margin:20px auto 0; text-align:left; display:grid; gap:12px; width:fit-content; max-width:100%; }
.checks li{ position:relative; padding-left:38px; font-size:16.5px; color:var(--body); line-height:1.55; }
.checks li b{ color:var(--ink); font-weight:700; }
.checks li::before{ content:""; position:absolute; left:0; top:2px; width:24px; height:24px; border-radius:50%; background:var(--link) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.500 12.500l3.500 3.500 7.500-8'/%3E%3C/svg%3E") center/100% no-repeat; }

/* 파란 구간: 위가 둥근 언덕 */
.blue{ position:relative; background:linear-gradient(180deg,var(--blue) 0,#3d9df5 50%,var(--blue2) 100%); color:#fff; border-radius:50% 50% 0 0 / 70px 70px 0 0; padding:46px 16px 44px; text-align:center; }
.blue > h2{ font-size:25px; font-weight:700; letter-spacing:1px; }
.blue > .say{ margin-top:22px; font-size:19px; font-weight:500; line-height:1.4; }
.hb{ position:absolute; filter:drop-shadow(0 3px 5px rgba(0,60,140,.25)); }
.pills{ margin:20px 6px 0; display:flex; flex-wrap:wrap; justify-content:center; gap:7px; }
.pills span{ background:var(--pill); color:var(--link); border-radius:99px; padding:3px 13px; font-size:15.5px; }
.card{ margin-top:26px; background:var(--card); color:var(--ink); border-radius:34px; padding:24px 14px 26px; }
.card h3{ font-size:19.500px; font-weight:700; color:var(--title); letter-spacing:.3px; }
.card .cap{ margin-top:14px; font-size:13px; color:#8b8a85; }

/* 동그란 그림 아이콘 줄 */
.icons{ margin-top:18px; display:grid; gap:14px 4px; }
.icons li{ position:relative; font-size:15px; color:var(--title); line-height:1.3; }
.icons img{ width:74px; height:74px; margin:0 auto 8px; }

/* 말풍선 */
.bub{ display:inline-block; max-width:84%; padding:12px 16px; border-radius:20px; font-size:15.5px; line-height:1.55; text-align:left; }
.bub.ai{ background:#fff; color:var(--ink); border-bottom-left-radius:5px; box-shadow:0 2px 6px rgba(0,60,140,.1); }
.bub.me{ background:var(--blue); color:#fff; border-bottom-right-radius:5px; }
.who{ display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--title); margin-bottom:6px; }
.who img{ width:34px; height:34px; }

/* 노란 형광 제목 */
.mark{ position:relative; display:inline-block; font-size:23px; font-weight:700; color:var(--title); }
.mark em{ font-style:normal; background:var(--hl); border-radius:7px; padding:0 6px; }
.mark .curl{ position:absolute; right:100%; bottom:-2px; width:34px; margin-right:6px; }

/* 안내 항목 — 그림 아이콘과 함께. grid: 두 칸 카드, rows: 그림 왼쪽 한 줄씩 */
.facts{ margin-top:24px; text-align:left; display:grid; gap:12px; }
.facts div{ background:#fff; border-radius:22px; box-shadow:0 4px 14px rgba(40,70,130,.08); }
.facts img{ width:56px; height:56px; }
.facts dt{ font-weight:700; font-size:15.5px; color:var(--ink); line-height:1.35; }
.facts dd{ font-size:14.5px; color:var(--body); }
.facts.grid{ grid-template-columns:1fr 1fr; }
.facts.grid div{ padding:18px 12px 16px; text-align:center; display:flex; flex-direction:column; align-items:center; }
.facts.grid dt{ margin-top:10px; min-height:42px; display:grid; place-items:center; }
.facts.grid dd{ margin-top:8px; }
.facts.rows div{ display:grid; grid-template-columns:56px 1fr; column-gap:14px; align-items:center; padding:14px 16px; }
.facts.rows img{ grid-row:1 / span 2; }
.facts.rows dt{ align-self:end; }
.facts.rows dd{ align-self:start; margin-top:5px; }
.tbd{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:500; color:#6b7689; background:#eef2f8; border-radius:99px; padding:4px 11px 4px 9px; white-space:nowrap; }
.tbd::before{ content:""; width:6px; height:6px; border-radius:50%; background:#aab4c6; }

.end{ position:relative; padding:40px 26px 54px; text-align:center; }
.end p{ font-family:"Jua","Noto Sans KR",sans-serif; font-size:25px; line-height:1.35; color:var(--pink); }
.end img{ margin:18px auto 0; width:74%; }

/* 단계 흐름 — 세로형: 그림 왼쪽, 설명 오른쪽. 단계 사이에 화살표 그림 */
.vflow{ margin-top:18px; padding:0 8px 4px; text-align:left; }
.vflow li{ display:grid; grid-template-columns:72px 1fr; gap:16px; align-items:center; }
.vflow img{ width:72px; height:72px; }
.vflow li.ar{ margin:10px 0; }
.vflow li.ar img{ width:auto; height:44px; margin:0 auto; }
.vflow small, .hflow small{ display:block; font-family:"Jua","Noto Sans KR",sans-serif; font-size:13.500px; color:var(--pink); letter-spacing:.3px; }
.vflow strong{ display:block; font-size:18px; font-weight:700; color:var(--ink); line-height:1.3; }
.vflow span{ display:block; margin-top:2px; font-size:14px; color:var(--body); line-height:1.45; }
/* 단계 흐름 — 가로형: 그림, 화살표, 그림 순서로 놓고 화살표 양옆을 띄움 */
.hflow{ margin-top:20px; display:flex; justify-content:center; align-items:flex-start; }
.hflow li{ width:78px; text-align:center; flex:none; }
.hflow li.ar{ width:auto; flex:1; max-width:52px; height:66px; display:grid; place-items:center; padding:0 7px; }
.hflow li.ar img{ width:100%; height:auto; margin:0; }
.hflow img{ width:66px; height:66px; margin:0 auto 10px; }
.hflow strong{ display:block; font-size:15.500px; font-weight:700; color:var(--ink); white-space:nowrap; }
.heroart{ margin:22px auto 0; width:88%; }
