@charset "utf-8";

/* 제이쌤 Personal Color — Jay Blue · Ink Navy · Cream Paper · Sunny Beak */
:root {
  --jay: #2b59c3;
  --jay-deep: #1e428f;
  --jay-soft: #eaf0fc;
  --ink: #14213d;
  --muted: #56607a;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --line: #e8e1d2;
  --sun: #f2b33d;
  --sun-soft: #fdf1d6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(20 33 61 / 0.04), 0 8px 24px -12px rgb(20 33 61 / 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --container: 1120px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jay); }
.eyebrow::before { content: ''; width: 18px; height: 3px; border-radius: 3px; background: var(--sun); }
.h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-top: 10px; }
.lead { font-size: clamp(16px, 2vw, 18px); color: var(--muted); margin-top: 14px; max-width: 64ch; }
.hl { background: linear-gradient(transparent 62%, var(--sun-soft) 62%); padding-inline: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(251 247 239 / 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgb(20 33 61 / .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand svg { width: 36px; height: 36px; transition: transform .5s var(--ease-spring); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.brand small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--jay); line-height: 1; margin-top: 2px; }
.brand-text { line-height: 1.05; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.nav a:hover { background: var(--jay-soft); color: var(--jay); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; transition: transform .25s var(--ease-out), background .25s; }
.header-cta:hover { background: var(--jay); transform: translateY(-1px); }
@media (min-width: 860px) { .nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid transparent; transition: transform .3s var(--ease-spring), box-shadow .3s, background .3s, color .3s; }
.btn-primary { background: var(--jay); color: #fff; box-shadow: 0 10px 24px -12px var(--jay); }
.btn-primary:hover { transform: translateY(-2px); background: var(--jay-deep); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero::before { content: ''; position: absolute; width: 620px; height: 620px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgb(43 89 195 / .12), transparent 65%); pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero-grid { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero h1 { font-size: clamp(30px, 5.6vw, 54px); font-weight: 800; margin-top: 16px; }
.hero h1 .accent { color: var(--jay); }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 2.1vw, 19px); color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.og-figure { margin: 0; position: relative; }
.og-figure picture, .og-figure img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); }
.og-figure picture { display: block; box-shadow: 0 30px 60px -30px rgb(20 33 61 / .45); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; animation: floaty 7s ease-in-out infinite; }
.og-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.og-badge { position: absolute; left: -10px; bottom: 36px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; animation: pop-in .8s var(--ease-spring) .5s both; }
.og-badge span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 14px; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line); }
.crumbs a:hover { color: var(--jay); text-decoration: underline; text-underline-offset: 3px; }

/* Story */
.story { background: var(--ink); color: #eef1f8; border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.story::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgb(242 179 61 / .14); }
.story .eyebrow { color: var(--sun); }
.story .h2 { color: #fff; }
.story p { color: #c9d0e0; margin-top: 16px; max-width: 70ch; }
.story strong { color: #fff; }

/* Method steps */
.steps { display: grid; gap: 16px; margin-top: 32px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.step::before { counter-increment: step; content: '0' counter(step); font-size: 13px; font-weight: 800; color: var(--jay); background: var(--jay-soft); border-radius: 999px; padding: 4px 10px; }
.step h3 { font-size: 20px; margin-top: 16px; }
.step h3 em { font-style: normal; color: var(--jay); font-size: 14px; font-weight: 700; margin-left: 6px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Keyword grid (4 cards) */
.kw-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 860px) { .kw-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.kw-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.kw-card h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.kw-card h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--jay)); display: inline-block; }
.kw-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease-spring); }
.chip:hover { background: var(--c, var(--jay)); border-color: var(--c, var(--jay)); color: #fff; transform: translateY(-2px); }
.chip[aria-current='page'] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Content blocks */
.content-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .content-grid { grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.card + .card { margin-top: 20px; }
.card h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
.card p { margin-top: 12px; color: #3a4460; }
.card .summary { font-size: 17px; color: var(--ink); background: var(--jay-soft); border-left: 4px solid var(--jay); padding: 14px 18px; border-radius: 0 12px 12px 0; margin-top: 16px; }
.check-list { margin-top: 16px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--jay) 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='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 34%; color: var(--muted); font-weight: 600; }
.aside-sticky { position: sticky; top: 88px; }
.cta-card { background: var(--jay); color: #fff; border: 0; }
.cta-card h2 { color: #fff; }
.cta-card p { color: #dfe7fb; }
.cta-card .btn { margin-top: 18px; width: 100%; background: #fff; color: var(--jay); }
.cta-card .btn:hover { background: var(--sun); color: var(--ink); }
.cta-card .phone { display: block; margin-top: 14px; font-size: 26px; font-weight: 800; letter-spacing: .01em; color: #fff; }

.fine { font-size: 13.5px; color: var(--muted) !important; }
.pain-list li { color: var(--ink); }
.pain-list li::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }
.no-list li::before { background: var(--ink) 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'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag-row li { font-size: 13px; font-weight: 700; color: var(--jay-deep); background: var(--jay-soft); border-radius: 999px; padding: 4px 12px; }

.timeline { margin-top: 18px; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; display: flex; gap: 16px; align-items: baseline; padding: 10px 0 10px 22px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--jay); }
.timeline span { flex: none; min-width: 44px; font-weight: 800; color: var(--jay); font-size: 14px; }
.timeline p { margin: 0 !important; }

.sample { margin: 18px 0 0; display: grid; gap: 10px; }
.sample div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; background: var(--cream); }
.sample div:last-child { background: var(--sun-soft); border-color: transparent; }
.sample dt { font-weight: 800; color: var(--jay); font-size: 14px; }
.sample dt small { color: var(--muted); font-weight: 600; margin-left: 6px; font-size: 13px; }
.sample dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; color: var(--ink); }

.roadmap { margin-top: 18px; display: grid; gap: 12px; }
@media (min-width: 760px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }
.roadmap li { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; border-top: 4px solid var(--jay); }
.roadmap strong { color: var(--jay-deep); }
.roadmap p { margin-top: 6px !important; font-size: 15px; }

.scene-list { margin-top: 16px; display: grid; gap: 10px; }
.scene-list li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.scene-list span { flex: none; font-weight: 800; color: var(--jay); font-size: 14px; }

.rec-grid { display: grid; gap: 12px; margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.rec-grid a { display: block; height: 100%; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .3s var(--ease-out); }
.rec-grid a:hover { border-color: var(--jay); transform: translateY(-3px); }
.rec-grid strong { display: block; font-size: 17px; }
.rec-grid span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Link lists */
.link-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 20px; }
.region-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: border-color .25s, color .25s, transform .3s var(--ease-out); }
.region-list a::after { content: '→'; color: var(--jay); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease-out); }
.region-list a:hover { border-color: var(--jay); color: var(--jay); transform: translateY(-2px); }
.region-list a:hover::after { opacity: 1; transform: none; }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; transition: border-color .3s; }
.faq details[open] { border-color: var(--jay); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--jay); transition: transform .35s var(--ease-spring); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); animation: fade-down .45s var(--ease-out); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding-block: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.marquee-track span::after { content: '✦'; color: var(--sun); font-size: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c1d6; padding-block: 48px 110px; margin-top: 40px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h2 { font-size: 14px; color: #fff; margin-bottom: 12px; }
.site-footer li + li { margin-top: 6px; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Floating call button */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--jay); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 14px 30px -10px rgb(43 89 195 / .7); transition: transform .35s var(--ease-spring), background .3s; animation: pop-in .7s var(--ease-spring) .8s both; }
.fab-btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--jay); animation: ring 2.4s var(--ease-out) infinite; pointer-events: none; }
.fab-btn:hover { transform: translateY(-3px) scale(1.03); background: var(--jay-deep); }
.fab-btn svg { width: 24px; height: 24px; animation: wiggle 3.2s ease-in-out infinite; }
.fab-sms { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease-spring); animation: pop-in .7s var(--ease-spring) 1s both; }
.fab-sms:hover { transform: translateY(-3px); color: var(--jay); }
.fab-sms svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .og-badge { left: 10px; bottom: 44px; padding: 8px 12px; font-size: 12px; } }
@media (max-width: 380px) { .header-cta span { display: none; } .header-cta { padding: 10px 12px; } }
@media (max-width: 480px) { .fab-btn .fab-label { display: none; } .fab-btn { width: 58px; padding: 0; justify-content: center; } }

/* Motion UI */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .8s var(--ease-out), transform .9s var(--ease-spring); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: .05s; } .stagger.is-in > *:nth-child(3) { transition-delay: .1s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .15s; } .stagger.is-in > *:nth-child(5) { transition-delay: .2s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .25s; } .stagger.is-in > *:nth-child(n+7) { transition-delay: .3s; }
.hero-in > * { animation: rise .9s var(--ease-out) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; } .hero-in > *:nth-child(5) { animation-delay: .32s; }
.no-js .reveal, .no-js .reveal-scale, .no-js .stagger > * { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.6) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-8deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .stagger > * { opacity: 1; transform: none; }
}
