/* 하이퍼아이스 A/S 진행 조회 — 흑백 미니멀, 넓은 여백, 모바일 우선 */
:root {
  --ink: #111;
  --ink-2: #444;
  --ink-3: #8a8a8a;
  --line: #e6e6e6;
  --bg: #fff;
  --bg-2: #f5f5f4;
  --radius: 14px;
  --pad: 20px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
[hidden] { display: none !important; }

/* 머리 */
.top { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.top-in { display: flex; align-items: center; gap: 14px; height: 56px; }
.brand { font-weight: 800; font-size: 17px; letter-spacing: 0.22em; text-decoration: none; }
.top-sub { font-size: 13px; color: var(--ink-3); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1; }

/* 첫 화면 */
.hero { padding: 20px 0 8px; }
.hero-art { margin: 0 calc(var(--pad) * -1); background: var(--bg-2); aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; animation: fade .6s ease-out both; }
.hero-art-icon { color: var(--ink); }
.hero-art-icon .stage-icon { width: 30%; height: auto; max-width: 160px; }
.hero-text { padding: 28px 0 8px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase; }
.hero h1 { font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; }
.lead { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
@keyframes fade { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }

/* 단계 표시줄 */
.steps { padding: 28px 0 8px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.steps li { position: relative; text-align: center; font-size: 11.5px; color: var(--ink-3); padding-top: 30px; line-height: 1.35; }
.steps li::before { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done::before, .steps li.current::before { background: var(--ink); }
.steps .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 1; }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); }
.steps li.current .dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 0 rgba(17,17,17,.35); animation: pulse 1.8s ease-out infinite; }
.steps li.current .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.steps li.current .dot:has(svg)::after { display: none; }
.steps li.current { color: var(--ink); font-weight: 700; }
.steps li.done { color: var(--ink-2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(17,17,17,.35); } 70% { box-shadow: 0 0 0 10px rgba(17,17,17,0); } 100% { box-shadow: 0 0 0 0 rgba(17,17,17,0); } }

/* 카드 */
.grid { display: grid; gap: 16px; padding: 24px 0 48px; }
.col { display: grid; gap: 16px; align-content: start; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: #fff; }
.card h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 14px; }
.big-date { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.note { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

.timer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.timer div { background: var(--bg-2); border-radius: 10px; padding: 14px 6px 10px; text-align: center; }
.timer b { display: block; font-size: 30px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }

.kv { margin: 0; display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.kv div:first-child { border-top: 0; padding-top: 0; }
.kv dt { color: var(--ink-3); font-size: 14px; flex: none; }
.kv dd { margin: 0; text-align: right; font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 22px; border-left: 1px solid var(--line); margin-left: 5px; }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--ink-3); }
.timeline li.latest::before { background: var(--ink); border-color: var(--ink); }
.timeline time { display: block; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline strong { display: block; font-size: 15px; margin-top: 2px; }
.timeline p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--font); text-decoration: none; cursor: pointer; border: 1px solid var(--ink); transition: background .15s, color .15s; white-space: nowrap; flex: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover { background: var(--bg-2); }
.btn-block { display: flex; width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ship .btn { margin-top: 18px; }

.help { display: grid; gap: 12px; }
.bookmark { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border-radius: var(--radius); padding: 16px 18px; font-size: 13.5px; color: var(--ink-2); }
.bookmark svg { flex: none; margin-top: 2px; }

.foot { border-top: 1px solid var(--line); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--ink-3); }
.foot-in { display: grid; gap: 6px; }
.foot-hours { font-size: 13px; color: var(--ink-2); }
.foot-hours b { font-weight: 700; color: var(--ink); margin-right: 6px; }
.foot-note { font-size: 12.5px; }
.foot-brand { margin-top: 6px; }
.dot-sep { color: var(--ink-3); margin: 0 2px; }

/* 안내 화면(링크 오류·만료) */
.msg { text-align: center; padding-top: 72px; padding-bottom: 96px; max-width: 520px; }
.msg-icon { color: var(--ink); display: flex; justify-content: center; margin-bottom: 24px; }
.msg h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.msg p { margin: 14px 0 32px; color: var(--ink-2); }

/* 작은 화면(카카오톡 인앱 360) */
@media (max-width: 374px) {
  :root { --pad: 16px; }
  .hero h1 { font-size: 30px; }
  .steps li { font-size: 10.5px; }
  .timer b { font-size: 26px; }
}

/* PC */
@media (min-width: 900px) {
  :root { --pad: 40px; }
  .top-in { height: 64px; }
  .hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 48px; }
  .hero-art { margin: 0; border-radius: 20px; }
  .hero-text { padding: 0; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 18px; }
  .steps { padding-top: 56px; }
  .steps li { font-size: 13px; padding-top: 36px; }
  .steps li::before { top: 12px; }
  .steps .dot { width: 26px; height: 26px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 40px; padding-bottom: 80px; }
  .col { gap: 24px; }
  .card { padding: 28px; }
  .big-date { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .steps li.current .dot { box-shadow: 0 0 0 5px rgba(17,17,17,.12); }
}
