/* IROCHI · 포켓몬 GO 감성: 밝은 바탕, 둥근 흰 카드, 알약 단추, 굵고 둥근 숫자 */
:root {
  --blue: #1f6fe0; --blue-2: #2b8cff; --blue-3: #0f56c2;
  --sky: #7ad0ff; --teal: #16b8a6; --teal-2: #4fd1c5; --mint: #e3f8f5;
  --yellow: #ffc93c; --coral: #ff6b6b;
  --ink: #10233f; --ink-2: #4a5b72; --ink-3: #8794a8; --line: #e1e9f3;
  --bg: #f4f8fd; --tint: #eaf3fc; --card: #fff;
  --r: 28px; --r-sm: 18px;
  --shadow: 0 14px 40px rgba(16, 35, 63, .10);
  --shadow-sm: 0 4px 14px rgba(16, 35, 63, .08);
  --glow: 0 10px 24px rgba(31, 111, 224, .30);
  --font: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --display: Fredoka, Pretendard, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.wrap--narrow { width: min(760px, calc(100% - 40px)); }
.display { font-family: var(--display); font-weight: 600; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0; }
.lead { color: var(--ink-2); font-size: 17px; max-width: 640px; }
.eyebrow { color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.card { background: var(--card); border: 1px solid rgba(16, 35, 63, .06); border-radius: var(--r); box-shadow: var(--shadow); }
.card--soft { box-shadow: var(--shadow-sm); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.chip--glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(8px); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--r { width: 14px; height: 14px; margin-left: 2px; opacity: .7; }
.ic--lg { width: 26px; height: 26px; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95em; }
.ver { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--tint); color: var(--blue); font-weight: 600; font-size: 13px; font-family: var(--display); letter-spacing: .02em; vertical-align: middle; }
.skip { position: absolute; left: -999px; }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; color: inherit; border-radius: 999px; padding: 0 20px; min-height: 46px; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { background: var(--blue-3); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--blue-2); color: var(--blue); }
.btn--glass { background: rgba(255, 255, 255, .18); color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .3); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn--block { width: 100%; }

/* 상단 바 */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .84); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(16, 35, 63, .06); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { border-radius: 10px; }
.brand__word { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { color: var(--ink-2); font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.nav__links a:hover { background: var(--tint); color: var(--ink); }

/* 히어로 */
.hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 84px; min-height: 640px; display: flex; align-items: center; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(105deg, rgba(15, 86, 194, .93) 0%, rgba(31, 111, 224, .8) 38%, rgba(43, 140, 255, .45) 62%, rgba(122, 208, 255, .22) 100%),
  linear-gradient(180deg, rgba(15, 86, 194, .15) 0%, transparent 45%, var(--bg) 100%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(36px, 5.4vw, 60px); margin: 18px 0 16px; text-shadow: 0 2px 14px rgba(0, 40, 100, .25); }
.hero__word { display: block; font-size: clamp(60px, 9vw, 112px); letter-spacing: .01em; line-height: .95; margin-top: 8px; font-weight: 700; }
.hero__lead { font-size: 18px; max-width: 540px; color: rgba(255, 255, 255, .93); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero__facts li { display: flex; align-items: center; gap: 6px; }
.hero__facts .ic { width: 16px; height: 16px; color: var(--yellow); stroke-width: 3; }

/* 상태 카드 */
.status { padding: 26px 26px 22px; color: var(--ink); justify-self: end; width: min(100%, 400px); }
.status__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.status__state { margin-left: auto; font-weight: 800; color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #c3ccd9; position: relative; flex: none; }
.dot--live { background: #22c55e; }
.dot--live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; opacity: .6; animation: ping 1.8s ease-out infinite; }
.dot--off { background: var(--coral); }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.status__big { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.status__num { font-size: 64px; line-height: 1; color: var(--blue); font-weight: 700; }
.status__den { font-size: 20px; color: var(--ink-3); font-weight: 700; }
.status__cap { margin-left: auto; font-size: 13px; color: var(--ink-3); font-weight: 700; }
.status__meta { margin: 14px 0 18px; padding: 0; border-top: 1px solid var(--line); }
.status__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status__meta dt { color: var(--ink-3); font-weight: 700; }
.status__meta dd { margin: 0; font-weight: 700; text-align: right; }

/* 섹션 공통 */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: 36px; }
.section__head .lead { margin-top: 12px; }

/* 3단계 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 700; background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); box-shadow: var(--glow); }
.step p { color: var(--ink-2); flex: 1; }
.step__links { display: flex; flex-wrap: wrap; gap: 8px; }
.addr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; width: 100%; border: 1.5px dashed var(--blue-2); background: var(--tint); border-radius: 16px; padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
.addr code { font-weight: 700; color: var(--blue-3); font-size: 14px; white-space: nowrap; }
.addr__hint { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--blue); flex: none; }
.addr:hover { background: #dfeeff; }

/* 다운로드 카드 */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack { padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.pack--hot { border: 2px solid var(--blue-2); box-shadow: 0 18px 50px rgba(31, 111, 224, .18); }
.pack__badge { position: absolute; top: -13px; left: 24px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 12px; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pack__for { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.pack__desc { color: var(--ink-2); flex: 1; }
.pack__spec { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.pack__spec li { background: var(--tint); padding: 5px 10px; border-radius: 999px; }
.pack__spec b { color: var(--ink); }
.pack__spec .ver { padding: 0; background: none; }
.pack__how { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.pack__how b { color: var(--ink-2); }
.notice { margin-top: 20px; padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.notice .ic { color: var(--blue); margin-top: 2px; }
.notice b { color: var(--ink); }

/* 숫자 타일 */
.stats { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats li { background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); color: #fff; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; box-shadow: var(--glow); }
.stats li:nth-child(2) { background: linear-gradient(135deg, var(--teal-2), var(--teal)); box-shadow: 0 10px 24px rgba(22, 184, 166, .3); }
.stats li:nth-child(3) { background: linear-gradient(135deg, #ffb84d, #ff8a3d); box-shadow: 0 10px 24px rgba(255, 138, 61, .3); }
.stats li:nth-child(4) { background: linear-gradient(135deg, #a78bfa, #7c5cf5); box-shadow: 0 10px 24px rgba(124, 92, 245, .3); }
.stat__n { font-size: 44px; line-height: 1; font-weight: 700; }
.stat__n small { font-size: 18px; margin-left: 2px; font-family: var(--font); font-weight: 800; }
.stat__l { margin-top: 8px; font-weight: 700; font-size: 14px; opacity: .92; }

/* 콘텐츠 타일 */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { padding: 24px 22px; box-shadow: var(--shadow-sm); }
.tile h3 { font-size: 17px; margin: 16px 0 8px; }
.tile p { color: var(--ink-2); font-size: 14px; }
.tile__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.tile__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile__ic--blue { background: linear-gradient(135deg, var(--blue-2), var(--blue-3)); }
.tile__ic--teal { background: linear-gradient(135deg, var(--teal-2), var(--teal)); }
.tile__ic--yellow { background: linear-gradient(135deg, #ffd166, #ff9f43); }
.tile__ic--coral { background: linear-gradient(135deg, #ff8e8e, #f0475d); }
.tile__ic--violet { background: linear-gradient(135deg, #b39cff, #7c5cf5); }

/* 전용 UI */
.section--ui { background: #fff; }
.ui { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ui__shot { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 600; color: var(--ink-2); }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .ic { color: var(--teal); background: var(--mint); border-radius: 50%; padding: 5px; width: 26px; height: 26px; stroke-width: 3; }

/* 도움말 */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 22px; color: var(--blue); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; }

/* 바닥 */
.foot { padding: 56px 0 64px; background: #0f2440; color: #b9c7da; }
.foot__in { display: grid; gap: 28px; }
.foot__brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.foot__brand img { border-radius: 10px; }
.foot__brand div { display: flex; flex-direction: column; line-height: 1.2; }
.foot__brand b { font-size: 20px; }
.foot__brand span { font-size: 13px; color: #b9c7da; }
.foot__meta { margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 16px 40px; font-size: 14px; }
.foot__meta div { display: flex; flex-direction: column; gap: 4px; }
.foot__meta dt { color: #7f93b0; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.foot__meta dd { margin: 0; color: #fff; font-weight: 600; }
.foot__meta a { color: #8fc1ff; }
.foot__legal { font-size: 12px; color: #7f93b0; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; }

/* 모바일 하단 바·알림 */
.dock { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; gap: 10px; padding: 10px; background: rgba(16, 36, 64, .92); backdrop-filter: blur(12px); border-radius: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, .3); }
.dock .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); z-index: 70; white-space: nowrap; }

/* 등장 효과 */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot--live::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* 반응형 */
@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .hero__veil { background: linear-gradient(180deg, rgba(15, 86, 194, .92) 0%, rgba(31, 111, 224, .78) 50%, rgba(43, 140, 255, .35) 78%, var(--bg) 100%); }
  .status { justify-self: stretch; width: 100%; }
  .steps, .packs, .ui { grid-template-columns: 1fr; }
  .grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .foot__meta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 56px; min-height: 0; }
  .hero__lead { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat__n { font-size: 36px; }
  .dock { display: flex; }
  body { padding-bottom: 84px; }
  .nav .btn { display: none; }
  .hero__cta .btn { flex: 1; }
  .step, .pack { padding: 22px; }
}
