/* recamly.com 의 소개 페이지들과 사용법 페이지가 함께 쓰는 모양. 맨 위 메뉴와 아래쪽은 nav.css.
   기준: 흰 띠(맨 위·제목·맺음) + 검은 본문 + 보라 단추 + 파스텔 카드, 넓은 여백과 큰 가운데 제목.
   색은 이 파일 맨 아래 "색" 묶음에서 한꺼번에 정한다. 글꼴은 기기의 기본 글꼴만 쓴다
   (바깥 글꼴·스크립트는 site/_headers 의 보안 설정이 막는다). */
:root {
  --navy:#0a1530; --purple:#2447B8; /* 11/15 로고 파랑으로 통일(예전 보라 #5645d4). 이름은 그대로 둠 */ --yellow:#f5d75e;
  --ink:#1a1a1a; --char:#37352f; --slate:#5d5b54; --steel:#787671;
  --line:#e5e3df; --surf:#f6f5f4;
  --peach:#ffe8d4; --rose:#fde0ec; --mint:#d9f3e1; --lav:#E6ECFB; --sky:#dcecfa; --cream:#fef7d6;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--char); background:#fff; word-break:keep-all; overflow-wrap:anywhere;
  font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif; }
a { color:inherit; }
img, svg { max-width:100%; }
.wrap { max-width:1040px; margin:0 auto; padding:0 20px; }
.wrap.narrow { max-width:780px; }

/* 첫 화면 위쪽 */
.hero { background:var(--navy); color:#fff; text-align:center; padding:64px 0 0; margin-bottom:170px; }
.hero h1 { font-size:clamp(2.1rem,5.4vw,3.6rem); line-height:1.12; letter-spacing:-.03em; margin:0 0 18px; }
.hero h1 b { color:var(--yellow); }
.hero .lead { font-size:clamp(1.05rem,2.1vw,1.3rem); opacity:.86; max-width:30em; margin:0 auto 28px; }
.cta { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 20px; }
.btn { display:inline-block; background:var(--purple); color:#fff; font-weight:600; padding:13px 24px; border-radius:999px; text-decoration:none; }
.btn.soon { cursor:default; }
.link { font-weight:600; text-underline-offset:4px; }
.points { list-style:none; padding:0; margin:28px 0 44px; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 28px; font-size:.95rem; opacity:.88; }
.points li::before { content:""; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--yellow); margin-right:9px; transform:translateY(-2px); }
.hero-img { margin-bottom:-170px; }
.hero-img img { width:min(330px,76%); border-radius:28px; box-shadow:rgba(15,15,15,.3) 0 24px 48px -8px; border:1px solid rgba(255,255,255,.08); display:block; margin:0 auto; }

/* 첫 화면의 폰 세 대: 가운데가 크고 앞에, 양옆은 조금 작고 뒤에. 그림은 tool/site_phones.js 가 만든다. */
.hero-phones { display:flex; justify-content:center; align-items:flex-end; margin-bottom:-170px; }
.hero-phones img { display:block; height:auto; filter:drop-shadow(0 22px 34px rgba(15,15,15,.32)); }
.hero-phones .main { width:min(300px,46%); position:relative; z-index:2; }
.hero-phones .side { width:min(236px,27%); margin:0 -22px 46px; }

/* 안쪽 페이지의 제목 띠 */
.band { background:var(--navy); color:#fff; text-align:center; padding:60px 0 64px; }
.band h1 { font-size:clamp(1.9rem,4.6vw,3rem); line-height:1.15; letter-spacing:-.03em; margin:0 0 14px; }
.band h1 b { color:var(--yellow); }
.band p { margin:0 auto; max-width:32em; opacity:.84; font-size:1.08rem; }

section { padding:84px 0; }
section.tint { background:var(--surf); }
h2 { color:var(--ink); text-align:center; font-size:clamp(1.6rem,3.6vw,2.3rem); letter-spacing:-.025em; line-height:1.2; margin:0 0 12px; }
.sub { text-align:center; color:var(--slate); max-width:34em; margin:0 auto 44px; }
h3 { color:var(--ink); margin:0 0 6px; font-size:1.12rem; letter-spacing:-.01em; }
.center { text-align:center; margin:28px 0 0; }
/* 첫 화면 폰 돌려 보기(site.js): 가운데 크게, 양옆 작게. 누르거나 밀면 넘어간다. */
.cf { overflow-x:clip; }
.cf-cap { color:#2447B8; font-weight:800; font-size:clamp(1.15rem,2.4vw,1.45rem); letter-spacing:-.01em; margin:6px 0 10px; min-height:1.5em; }
.cf-dots { display:flex; gap:8px; justify-content:center; margin:0 0 22px; }
.cf-dots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(128,128,136,.45); cursor:pointer; }
.cf-dots button[aria-current="true"] { background:#2447B8; width:22px; border-radius:6px; }
.cf-row { position:relative; margin-bottom:-170px; }
.cf-stage { position:relative; width:min(300px,46%); aspect-ratio:568/1078; margin:0 auto; touch-action:pan-y; }
/* 양옆 화살표: 옆 폰 바깥에 둔다. 화면이 좁으면 가장자리에 붙어 옆 폰 위에 겹친다. */
.cf-nav { position:absolute; top:50%; z-index:4; width:46px; height:46px; margin-top:-23px; padding:0 0 3px; border:0; border-radius:50%; background:rgba(20,20,26,.72); color:#fff; font-size:30px; line-height:1; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.25); display:flex; align-items:center; justify-content:center; }
.cf-nav:hover { background:rgba(20,20,26,.9); }
.cf-nav.prev { left:max(4px, calc(50% - min(300px,46%) * 1.49 - 70px)); }
.cf-nav.next { right:max(4px, calc(50% - min(300px,46%) * 1.49 - 70px)); }
.cf-item { position:absolute; inset:0; padding:0; border:0; background:none; cursor:pointer; opacity:0; pointer-events:none; transform-origin:50% 100%; transition:transform .45s ease, opacity .45s ease; z-index:1; }
.cf-item img { display:block; width:100%; height:auto; filter:drop-shadow(0 22px 34px rgba(15,15,15,.32)); }
.cf-item.c { opacity:1; pointer-events:auto; transform:none; z-index:3; }
.cf-item.l { opacity:1; pointer-events:auto; transform:translate(-60%,-4%) scale(.78); z-index:2; }
.cf-item.r { opacity:1; pointer-events:auto; transform:translate(60%,-4%) scale(.78); z-index:2; }
.cf-item.ll { transform:translate(-105%,-4%) scale(.6); }
.cf-item.rr { transform:translate(105%,-4%) scale(.6); }
.cf-item:focus-visible, .cf-dots button:focus-visible, .cf-nav:focus-visible { outline:3px solid #2447B8; outline-offset:3px; border-radius:12px; }
@media (prefers-reduced-motion: reduce) { .cf-item { transition:none; } }

.grid { display:grid; gap:16px; }
.g2 { grid-template-columns:repeat(2,1fr); }
.g3 { grid-template-columns:repeat(3,1fr); }
.g4 { grid-template-columns:repeat(4,1fr); }
.card { border-radius:16px; padding:26px; background:var(--surf); }
.card p { margin:0; color:var(--slate); font-size:.98rem; }
.card .ico { width:44px; height:44px; margin-bottom:14px; display:block; }
.peach{background:var(--peach)} .rose{background:var(--rose)} .mint{background:var(--mint)} .lav{background:var(--lav)} .sky{background:var(--sky)} .cream{background:var(--cream)}
.card.line { background:#fff; border:1px solid var(--line); }
a.card { text-decoration:none; display:block; transition:transform .15s; }
a.card:hover { transform:translateY(-3px); }
.go { display:inline-block; font-weight:600; color:var(--purple); font-size:.95rem; }

/* 글과 그림이 번갈아 나오는 줄 */
.row { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; margin-bottom:84px; }
.row:last-child { margin-bottom:0; }
.row.flip .pic { order:2; }
.row .pic { text-align:center; }
.row .pic img { width:min(280px,80%); border-radius:20px; border:1px solid var(--line); }
.row h3 { font-size:1.6rem; letter-spacing:-.02em; margin-bottom:12px; }
.row p { margin:0 0 12px; }
.tag { display:inline-block; font-size:.82rem; font-weight:700; color:var(--purple); background:var(--lav); padding:4px 10px; border-radius:6px; margin-bottom:12px; }
.ticks { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:8px; }
.ticks li { padding-left:26px; position:relative; }
.ticks li::before { content:""; position:absolute; left:4px; top:.5em; width:11px; height:6px; border-left:2px solid var(--purple); border-bottom:2px solid var(--purple); transform:rotate(-45deg); }
.note { color:var(--steel); font-size:.92rem; }
.note.c { text-align:center; margin:22px auto 0; max-width:46em; }
.note a { color:#0075de; }

/* 비교 */
.versus { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.versus .box { border-radius:18px; padding:26px; border:1px solid var(--line); background:#fff; }
.versus .box.us { border:2px solid var(--purple); }
.versus h3 { text-align:center; margin-bottom:14px; }
.versus svg { display:block; margin:0 auto; width:100%; height:auto; }
table.cmp { width:100%; border-collapse:collapse; margin-top:34px; font-size:.98rem; background:#fff; border-radius:16px; overflow:hidden; border:1px solid var(--line); }
.cmp th, .cmp td { padding:14px 16px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.cmp thead th { background:var(--navy); color:#fff; font-weight:600; }
.cmp thead th:last-child { color:var(--yellow); }
.cmp tbody th { color:var(--ink); font-weight:600; width:24%; }
.cmp td:last-child { background:#F6F8FE; color:var(--ink); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom:0; }

/* 실제 있었던 일 */
.case { background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px; }
.case .when { font-size:.85rem; font-weight:700; color:var(--steel); letter-spacing:.02em; margin-bottom:8px; }
.case h3 { font-size:1.15rem; line-height:1.4; margin-bottom:10px; }
.case p { margin:0 0 12px; font-size:.97rem; }
.case .us { background:var(--lav); border-radius:10px; padding:12px 14px; color:var(--ink); font-size:.95rem; }
.case .src { font-size:.85rem; color:var(--steel); margin:0; }
.case .src a { color:#0075de; }

/* 순서 */
.steps { counter-reset:s; list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.steps li { counter-increment:s; border:1px solid var(--line); border-radius:16px; padding:26px; background:#fff; }
.steps li::before { content:counter(s); display:flex; width:34px; height:34px; align-items:center; justify-content:center; background:var(--purple); color:#fff; border-radius:9px; font-weight:700; margin-bottom:12px; }
.steps b { color:var(--ink); display:block; margin-bottom:4px; }

.final { background:var(--navy); color:#fff; text-align:center; padding:72px 0; }
.final h2 { color:#fff; }
.final p { opacity:.84; margin:0 auto 26px; max-width:30em; }

/* 사용법 페이지(접히는 항목). tool/site_guide.js 가 만든다. */
.guide { padding-top:48px; }
.guide h2 { text-align:left; font-size:1.35rem; margin:40px 0 14px; padding-top:28px; border-top:1px solid var(--line); }
.guide h2:first-child { margin-top:0; padding-top:0; border-top:0; }
.guide h3 { font-size:1.05rem; margin:26px 0 10px; color:var(--slate); }
details { border:1px solid var(--line); border-radius:14px; margin:0 0 10px; background:#fff; }
details[open] { background:var(--surf); }
summary { cursor:pointer; padding:15px 46px 15px 18px; font-weight:600; color:var(--ink); list-style:none; position:relative; }
summary::-webkit-details-marker { display:none; }
summary::after { content:""; position:absolute; right:20px; top:50%; width:9px; height:9px; border-right:2px solid var(--steel); border-bottom:2px solid var(--steel); transform:translateY(-70%) rotate(45deg); }
details[open] summary::after { transform:translateY(-30%) rotate(-135deg); }
.body { padding:0 18px 16px; font-size:.98rem; }
.body p { margin:0 0 10px; }
.body ul { margin:0 0 10px; padding-left:1.2em; }
.lab { font-weight:700; font-size:.9rem; margin:12px 0 4px; }
.lab.good { color:#2e7d32; }
.lab.warn { color:#c2610c; }
.lab.info { color:#1565c0; }
.tip { color:var(--steel); font-size:.93rem; }

@media (max-width:820px) {
  section { padding:60px 0; }
  .g2, .g3, .g4, .versus, .steps, .row { grid-template-columns:1fr; }
  .row { gap:24px; margin-bottom:60px; }
  .row.flip .pic { order:0; }
  .hero { margin-bottom:130px; padding-top:44px; }
  .hero-img, .hero-phones, .cf-row { margin-bottom:-130px; }
  .hero-phones .side { margin:0 -12px 26px; }
  .cmp th, .cmp td { padding:11px 10px; font-size:.9rem; }
  .cmp tbody th { width:30%; }
}

/* 색: 위쪽 띠는 흰 바탕에 검은 글자, 본문은 검은 바탕에 흰 글자(사용자 결정 2026-10-13).
   위의 규칙들이 정한 밝은 색을 여기서 덮어쓴다. 파스텔 카드와 비교 그림(흰 상자)은 그대로 둔다. */
body { background:#0c0c0f; color:#d6d6dc; }
.hero, .band, .final { background:#fff; color:#1a1a1a; }
.hero h1 b, .band h1 b { color:var(--purple); }
.hero .lead, .band p, .final p { opacity:1; color:#4a4a52; }
.points { opacity:1; color:var(--char); }
.points li::before { background:var(--purple); }
.final h2 { color:#1a1a1a; }
section { background:#0c0c0f; }
section.tint { background:#15151a; }
h2 { color:#fff; }
.sub { color:#b4b4bd; }
.go { color:#9DB4FF; }
.note { color:#9a9aa5; }
.note a, .case .src a { color:#8fc2ff; }
.card.line, .steps li, .case { background:#1b1b21; border-color:#2e2e38; }
.card.line h3, .case h3, .steps b, .row h3 { color:#fff; }
.card.line p, .case p, .steps li { color:#c3c3cc; }
.card.line .ico { stroke:#fff; }
.case .when, .case .src { color:#9a9aa5; }
.case .us { background:#1B2650; color:#fff; }
.ticks li::before { border-color:#9DB4FF; }
/* 파스텔 카드는 밝은 바탕이라 그 안의 글은 어둡게 둔다. */
.card:not(.line) .ticks li { color:#2b2a27; }
.card:not(.line) .ticks li::before { border-color:var(--purple); }
.card:not(.line) .note { color:#4a4a52; }
.row .pic img { border-color:#2e2e38; }
.tag { background:#1B2650; color:#C9D6FF; }
.cmp { border-color:#2e2e38; }
.cmp thead th { background:#fff; color:#1a1a1a; }
.cmp thead th:last-child { color:var(--purple); }
.cmp th, .cmp td { border-color:#2e2e38; }
.cmp tbody th { color:#fff; background:#1b1b21; }
.cmp td { background:#1b1b21; color:#c3c3cc; }
.cmp td:last-child { background:#221f3d; color:#fff; }
/* 사용법 */
.guide h2 { border-top-color:#2e2e38; }
.guide h3 { color:#b4b4bd; }
details { background:#1b1b21; border-color:#2e2e38; }
details[open] { background:#15151a; }
summary { color:#fff; }
summary::after { border-color:#9a9aa5; }
.body { color:#c9c9d2; }
.lab.good { color:#7bd88f; }
.lab.warn { color:#ffb86b; }
.lab.info { color:#8fc2ff; }
.tip { color:#9a9aa5; }
