/* 위드홈피 소개 사이트 — 시안 _specs\2026-10-24-withhompy-self-assets\service\index.html(Tailwind 보기용)을 같은 값으로 옮긴 CSS.
   흰 바탕·코랄 핑크 하나. 구간: 휴대폰 → 640px(sm) → 768px(md) → 1024px(lg) — 시안과 같다. */
:root {
  color-scheme: light;
  --p50: #fff1f3; --p100: #ffe3e8; --p300: #ffa3b4; --p400: #ff8499; --p500: #ff7189; --p600: #ff6b81; --p700: #e8546d; --p900: #7f2436;
  --g50: #f9fafb; --g100: #f3f4f6; --g200: #e5e7eb; --g300: #d1d5db; --g400: #9ca3af; --g500: #6b7280; --g600: #4b5563; --g700: #374151; --g800: #1f2937; --g900: #111827;
  --s300: #d6d3d1; --s400: #a8a29e; --s700: #44403c; --s800: #292524; --s900: #1c1917;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
/* 기본값 정리(Tailwind preflight 와 같은 출발점) */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--g200); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: #fff; color: var(--g900); word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
img, svg { display: block; vertical-align: middle; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; margin: 0; }
button { background: transparent; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--p600); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { margin: 0 auto; }
.w7 { max-width: 80rem; } .w5 { max-width: 64rem; } .w4 { max-width: 56rem; } .w3 { max-width: 48rem; }
.sec { padding: 80px 20px; }
.center { text-align: center; }
.ico { width: 24px; height: 24px; }

/* 머리 */
.hd { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--g100); transition: box-shadow .3s; }
.hd.scrolled { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); }
.hd-in { max-width: 80rem; margin: 0 auto; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; padding: 6px 8px 6px 0; flex: none; }
.logo img { display: block; height: 32px; width: auto; }
.hd nav { display: none; gap: 40px; align-items: center; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--g600); }
.hd nav a:hover { color: var(--p600); }
.hd-act { display: flex; align-items: center; gap: 16px; }
.hd-login { display: none; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--g600); }
.hd-login:hover { color: var(--g900); }
.btn-dark { background: var(--g900); color: #fff; font-size: 14px; line-height: 20px; font-weight: 600; padding: 10px 20px; border-radius: 9999px; transition: background .15s; }
.btn-dark:hover { background: var(--g800); }

/* 첫 화면 */
.hero { padding: 128px 20px 64px; text-align: center; background: linear-gradient(to bottom, var(--p50), #fff, #fff); }
.badge { display: inline-block; padding: 6px 16px; border-radius: 9999px; background: var(--p100); color: var(--p700); font-size: 14px; line-height: 20px; font-weight: 700; margin-bottom: 32px; }
.hero h1 { font-size: 36px; font-weight: 800; color: var(--g900); line-height: 1.32; margin-bottom: 32px; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--p600); }
.hero .lead { font-size: 18px; line-height: 1.625; color: var(--g500); margin: 0 auto 40px; max-width: 42rem; }
.br-m { display: inline; }
.hero-cta { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; }
.btn-main { width: 100%; background: var(--p600); color: #fff; font-size: 18px; line-height: 28px; font-weight: 600; padding: 16px 32px; border-radius: 9999px; box-shadow: 0 10px 15px -3px rgba(255, 113, 137, .3), 0 4px 6px -4px rgba(255, 113, 137, .3); transition: all .3s; }
.btn-main:hover { background: var(--p700); transform: translateY(-2px); }
.hero .sub { margin-top: 20px; font-size: 14px; line-height: 20px; color: var(--g400); }

/* 비교 */
.cmp { background: var(--g50); }
.sec-h { text-align: center; margin-bottom: 56px; }
.sec-h h2 { font-size: 30px; line-height: 36px; font-weight: 700; color: var(--g900); margin-bottom: 16px; }
.sec-h p { font-size: 18px; line-height: 28px; color: var(--g500); }
.cmp-box { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--g100); box-shadow: 0 20px 25px -5px rgba(229, 231, 235, .5), 0 8px 10px -6px rgba(229, 231, 235, .5); display: grid; grid-template-columns: 1fr; }
.cmp-col { padding: 32px; }
.cmp-col.old { border-bottom: 1px solid var(--g100); }
.cmp-col.new { background: rgba(255, 241, 243, .5); }
.cmp-t { font-size: 20px; line-height: 28px; font-weight: 700; margin-bottom: 32px; color: var(--g400); }
.cmp-col.new .cmp-t { color: var(--p600); display: flex; align-items: center; gap: 8px; }
.cmp-t .tag { background: var(--p600); color: #fff; font-size: 12px; line-height: 16px; padding: 4px 8px; border-radius: 4px; }
.cmp ul { display: grid; gap: 24px; }
.cmp li { display: flex; align-items: flex-start; gap: 16px; }
.cmp li > span { margin-top: 4px; color: var(--g300); flex: none; }
.cmp-col.new li > span { color: var(--p600); }
.cmp h4 { font-weight: 700; color: var(--g900); margin-bottom: 4px; }
.cmp li p { font-size: 14px; line-height: 20px; color: var(--g500); }
.cmp-col.new li p { color: var(--g600); }

/* 자동 세팅(검정) */
.auto { position: relative; overflow: hidden; background: var(--s900); color: #fff; }
.auto-gear { position: absolute; inset: 0; pointer-events: none; display: flex; justify-content: center; align-items: center; opacity: .1; }
.auto-gear svg { width: 384px; height: 384px; color: var(--p400); }
.auto-in { position: relative; z-index: 10; }
.auto .sec-h h2 { color: #fff; line-height: 1.4; }
.auto .sec-h p { font-size: 16px; line-height: 24px; color: var(--s400); }
.pill-auto { display: inline-block; padding: 4px 12px; border-radius: 9999px; background: rgba(255, 113, 137, .2); color: var(--p300); font-size: 14px; line-height: 20px; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(255, 132, 153, .3); }
.steps3 { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0; }
.step { width: 100%; background: rgba(41, 37, 36, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--s700); padding: 32px; border-radius: 16px; text-align: center; }
.step.mid { position: relative; background: linear-gradient(to bottom, var(--s800), var(--s900)); border-color: rgba(255, 132, 153, .4); box-shadow: 0 0 34px rgba(255, 107, 129, .18); }
.step .no { width: 48px; height: 48px; border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 20px; line-height: 28px; font-weight: 700; background: var(--s700); color: var(--s300); }
.step.mid .no { background: rgba(255, 113, 137, .2); color: var(--p400); border: 1px solid rgba(255, 113, 137, .5); }
.step.last .no { background: var(--p500); color: #fff; box-shadow: 0 0 16px rgba(255, 107, 129, .5); }
.step h3 { font-size: 20px; line-height: 28px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step.mid h3 { color: var(--p300); }
.step p { font-size: 14px; line-height: 20px; color: var(--s400); }
.step ul { display: inline-grid; gap: 6px; text-align: left; margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--s300); }
.step li { display: flex; align-items: center; gap: 8px; }
.step li span { color: var(--p400); }
.step .gear { position: absolute; top: -12px; right: -12px; }
.step .gear svg { width: 32px; height: 32px; color: var(--p400); }
.flow-v { width: 4px; height: 36px; border-radius: 4px; margin: 8px auto; background: linear-gradient(180deg, transparent, rgba(255, 107, 129, .9), transparent); background-size: 100% 200%; animation: flowV 2s linear infinite; }
.flow-h { display: none; height: 4px; width: 64px; flex: none; background: var(--s800); position: relative; border-radius: 9999px; overflow: hidden; }
.flow-h i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 107, 129, .9), transparent); background-size: 200% 100%; animation: flowMove 2s linear infinite; }
@keyframes flowMove { 0% { background-position: 100% 0 } 100% { background-position: -100% 0 } }
@keyframes flowV { 0% { background-position: 0 100% } 100% { background-position: 0 -100% } }
.gear-slow { animation: spin 8s linear infinite; }
.gear-rev { animation: spinr 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes spinr { from { transform: rotate(360deg) } to { transform: rotate(0) } }
.pulse-soft { animation: pulseSoft 2.2s ease-in-out infinite; }
@keyframes pulseSoft { 50% { opacity: .6 } }
.tick { opacity: 0; animation: tickIn 6s ease-in-out infinite; }
.tick:nth-child(2) { animation-delay: .6s; } .tick:nth-child(3) { animation-delay: 1.2s; }
@keyframes tickIn { 0%, 6% { opacity: .25; transform: translateX(-6px) } 14%, 90% { opacity: 1; transform: none } 100% { opacity: .25 } }

/* 템플릿 */
.tpl .sec-h { margin-bottom: 40px; }
.try { max-width: 42rem; margin: 0 auto 40px; background: var(--g50); border: 1px solid var(--g100); border-radius: 24px; padding: 20px; display: grid; gap: 12px; text-align: left; }
.try-row { display: grid; gap: 10px; }
.try label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--g600); }
.try input, .try select { height: 48px; border: 1px solid var(--g200); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 16px; width: 100%; }
.try button { height: 48px; border-radius: 9999px; background: var(--g900); color: #fff; font-weight: 700; padding: 0 22px; }
.try p { font-size: 13px; color: var(--g500); }
.try .msg { color: var(--p700); font-weight: 700; }
.tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--g200); justify-content: flex-start; margin-bottom: 40px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 16px 24px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--g500); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s; margin-bottom: -1px; }
.tab:hover { color: var(--g700); }
.tab[aria-selected="true"] { color: var(--p600); border-bottom-color: var(--p600); }
.panes { position: relative; min-height: 300px; }
.pane { animation: fadeIn .4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.cards { display: grid; grid-template-columns: 1fr; gap: 32px; }
.card .ph { overflow: hidden; border-radius: 16px; margin-bottom: 16px; background: var(--g100); aspect-ratio: 3 / 4; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.card:hover img { transform: scale(1.05); }
.card h4 { font-weight: 700; color: var(--g900); font-size: 18px; line-height: 28px; }
.card p { font-size: 14px; line-height: 20px; color: var(--g500); }
.card.md-only { display: none; }
.soon { border-radius: 24px; background: var(--g50); border: 1px dashed var(--g300); padding: 80px 20px; text-align: center; }
.soon p:first-child { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--g900); }
.soon p + p { color: var(--g500); margin-top: 8px; }
.tour { text-align: center; margin-top: 48px; }
.tour a { font-weight: 700; color: var(--g900); border-bottom: 2px solid var(--g900); padding-bottom: 4px; transition: color .15s, border-color .15s; }
.tour a:hover { color: var(--p600); border-color: var(--p600); }

/* 포함 항목 */
.feat { background: var(--g50); }
.feat h2.big { font-size: 30px; line-height: 36px; font-weight: 700; color: var(--g900); margin-bottom: 56px; text-align: center; }
.feats { display: grid; grid-template-columns: 1fr; gap: 24px; }
.fcard { background: #fff; padding: 32px; border-radius: 24px; border: 1px solid var(--g100); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05); transition: box-shadow .3s; }
.fcard:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.fic { width: 56px; height: 56px; border-radius: 16px; background: var(--p50); color: var(--p600); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: background .15s, color .15s; }
.fic svg { width: 28px; height: 28px; }
.fcard:hover .fic { background: var(--p600); color: #fff; }
.fcard h3 { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--g900); margin-bottom: 12px; }
.fcard p { font-size: 14px; line-height: 1.625; color: var(--g500); }

/* 요금 */
.plans { display: grid; gap: 24px; }
.plan { border-radius: 24px; border: 1px solid var(--g200); padding: 32px; }
.plan.best { border: 2px solid var(--p600); background: rgba(255, 241, 243, .5); position: relative; }
.plan .save { position: absolute; top: -12px; right: 24px; background: var(--p600); color: #fff; font-size: 12px; line-height: 16px; font-weight: 700; padding: 4px 12px; border-radius: 9999px; }
.plan .k { font-weight: 700; color: var(--g500); }
.plan.best .k { color: var(--p700); }
.plan .amt { margin-top: 12px; font-size: 48px; line-height: 1; font-weight: 800; color: var(--g900); letter-spacing: -.025em; }
.plan .amt .u { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--g500); margin-left: 4px; letter-spacing: 0; }
.plan .amt .vat { display: inline-block; white-space: nowrap; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--g400); margin-left: 8px; vertical-align: middle; letter-spacing: 0; }
.plan .n { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--g500); }
.opts { margin-top: 32px; border-radius: 24px; background: var(--g50); padding: 24px; }
.opts > p { font-weight: 700; color: var(--g900); margin-bottom: 16px; }
.opts dl { font-size: 14px; line-height: 20px; }
.opts dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; }
.opts dl div + div { border-top: 1px solid var(--g200); }
.opts dt { color: var(--g600); }
.opts dd { font-weight: 700; white-space: nowrap; }

/* 자주 묻는 질문 */
.safe { display: flex; justify-content: center; margin-bottom: 24px; }
.safe div { display: flex; align-items: center; gap: 8px; background: #f0fdf4; color: #15803d; padding: 8px 16px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 600; border: 1px solid #bbf7d0; }
.safe svg { width: 16px; height: 16px; }
.faq h2 { font-size: 30px; line-height: 36px; font-weight: 700; color: var(--g900); margin-bottom: 48px; text-align: center; }
.acc { border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.acc > div + div { border-top: 1px solid var(--g200); }
.acc-btn { width: 100%; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.acc-btn span { font-weight: 500; font-size: 18px; line-height: 28px; color: var(--g900); padding-right: 16px; transition: color .15s; }
.acc-btn:hover span { color: var(--p600); }
.acc-btn svg { width: 20px; height: 20px; color: var(--g400); flex: none; transition: transform .3s ease; }
.acc-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease-out; }
.acc-body p { padding: 0 32px 24px 0; color: var(--g500); line-height: 1.625; }

/* 마지막 */
.last { position: relative; overflow: hidden; background: var(--g900); }
.last::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(127, 36, 54, .5), transparent); }
.last .in { position: relative; z-index: 10; text-align: center; }
.last h2 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 24px; line-height: 1.4; letter-spacing: -.025em; }
.last .lead { color: var(--g400); font-size: 18px; line-height: 28px; margin-bottom: 40px; font-weight: 300; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--g900); font-size: 18px; line-height: 28px; font-weight: 700; padding: 16px 40px; border-radius: 9999px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25); transition: all .3s; }
.btn-white:hover { background: var(--g50); transform: scale(1.02); }
.last .note { margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--g500); }

/* 바닥 */
.ft { background: #fff; color: var(--g500); padding: 48px 20px; font-size: 14px; line-height: 20px; border-top: 1px solid var(--g100); }
.ft-in { max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.ft-logo { margin: -16px 0 4px -28px; } /* 가로형 SVG 안의 여백만큼 당겨 글줄에 맞춤 */
.ft-logo img { display: block; width: 240px; height: auto; }
.ft-biz { font-size: 12px; line-height: 24px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 500; }
.ft-links a:hover { color: var(--g900); }
.ft-links .strong { color: var(--g900); font-weight: 700; }

/* 약관·방침 쪽 */
.doc { padding: 112px 20px 72px; }
.doc .in { max-width: 48rem; margin: 0 auto; }
.doc h1 { font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -.025em; margin-bottom: 12px; }
.doc .meta { color: var(--g500); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 18px; font-weight: 700; margin: 32px 0 10px; color: var(--g900); }
.doc p, .doc li { color: var(--g700); line-height: 1.8; font-size: 15.5px; }
.doc ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 8px; }
.doc th, .doc td { border: 1px solid var(--g200); padding: 10px; text-align: left; vertical-align: top; color: var(--g700); }
.doc th { background: var(--g50); font-weight: 700; }
.doc .tbl { overflow-x: auto; }

@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
  .btn-main { width: auto; }
  .try-row { grid-template-columns: 1.4fr 1fr auto; align-items: end; }
}
@media (min-width: 768px) {
  .hd-in { padding: 16px 24px; }
  .hd nav, .hd-login { display: flex; }
  .sec { padding: 96px 24px; }
  .hero { padding: 160px 24px 80px; }
  .hero h1 { font-size: 60px; line-height: 1.3; }
  .hero .lead { font-size: 20px; }
  .br-m { display: none; }
  .sec-h h2, .feat h2.big, .faq h2 { font-size: 36px; line-height: 40px; }
  .auto .sec-h h2 { line-height: 1.4; }
  .cmp-box { grid-template-columns: 1fr 1fr; }
  .cmp-col { padding: 56px; }
  .cmp-col.old { border-bottom: 0; border-right: 1px solid var(--g100); }
  .steps3 { flex-direction: row; align-items: center; gap: 16px; }
  .step { width: 33.333%; }
  .step.mid { transform: translateY(-16px); }
  .flow-v { display: none; }
  .flow-h { display: block; }
  .tabs { justify-content: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card.md-only { display: block; }
  .feats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .opts { padding: 32px; }
  .opts dl { font-size: 16px; line-height: 24px; }
  .last h2 { font-size: 48px; line-height: 1.4; }
  .last .lead { font-size: 20px; }
  .ft { padding: 48px 24px; }
  .ft-in { flex-direction: row; align-items: center; }
  .doc h1 { font-size: 40px; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 72px; line-height: 1.3; }
  .feats { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-h i, .flow-v, .gear-slow, .gear-rev, .pulse-soft, .tick, .pane { animation: none !important; opacity: 1; }
  .card img, .btn-main, .btn-white { transition: none; }
}
