@font-face { font-family: "Paperlogy"; font-weight: 400; font-display: swap; src: url("/fonts/paperlogy-400.woff?v=1114r") format("woff"); }
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("/fonts/paperlogy-700.woff?v=1114r") format("woff"); }

:root {
  --bg: #07051a;
  --ink: #ffffff;
  --sub: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.5);
  --hi: #d6ff5c;
  --hi-ink: #17104f;
  --vio: #7d5dff;
  --glass: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Paperlogy", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: normal; color: var(--hi); }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--hi); outline-offset: 3px; }

/* 배경: 어두운 바탕에 네온 빛 세 덩이와 점 무늬. 화면에 고정해 둔다 */
.sky {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 640px at 88% -6%, rgba(125, 93, 255, 0.78), transparent 62%),
    radial-gradient(760px 720px at -10% 42%, rgba(255, 79, 163, 0.4), transparent 60%),
    radial-gradient(900px 640px at 100% 96%, rgba(37, 201, 255, 0.34), transparent 60%),
    linear-gradient(168deg, #1b1550 0%, #0f0b30 46%, var(--bg) 100%);
}
.sky::before {
  content: ""; position: absolute; inset: 0; opacity: 0.45;
  background-image: radial-gradient(rgba(255, 255, 255, 0.17) 1.2px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 60%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 60%, transparent 96%);
}

/* 상단 */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px max(20px, calc((100% - 1120px) / 2));
  transition: background-color .3s ease, box-shadow .3s ease;
}
.top.solid {
  background: rgba(10, 7, 38, 0.62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 11px; box-shadow: 0 6px 18px rgba(10, 5, 70, 0.5); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--hi); color: var(--hi-ink);
  font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 0 34px -6px rgba(214, 255, 92, 0.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 44px -4px rgba(214, 255, 92, 0.9); }
.btn.big { padding: 15px 28px; font-size: 17px; }
.btn.ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.top-btns { display: flex; gap: 8px; }

main { overflow: clip; }
section { max-width: 1120px; margin: 0 auto; padding: 84px 20px; }
h1, h2 { margin: 0; line-height: 1.2; letter-spacing: -0.04em; }
.tag {
  display: inline-block; margin: 0 0 16px; padding: 6px 16px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); color: var(--hi);
  font-weight: 700; font-size: 14px;
}

/* 첫 화면 */
.hero { text-align: center; padding-top: 150px; padding-bottom: 64px; }
.eyebrow { margin: 0 0 20px; color: var(--hi); font-weight: 700; font-size: 14px; letter-spacing: 0.28em; }
.hero h1 { font-size: clamp(44px, 10vw, 92px); text-shadow: 0 12px 44px rgba(8, 4, 60, 0.5); }
.hero h1 em { text-shadow: 0 0 46px rgba(214, 255, 92, 0.5), 0 12px 44px rgba(8, 4, 60, 0.5); }
.lead { max-width: 560px; margin: 26px auto 0; color: var(--sub); font-size: 18px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 34px; }
/* 공식 스토어 배지: 그림의 가로세로 비율이 서로 달라서(구글 3.37:1, 애플 3:1) 같은 크기의 검은 칸에 넣어
   두 개의 폭과 높이를 똑같이 맞춘다. 그림은 늘이지 않고, 칸보다 살짝 크게 넣어 그림 자체의 테두리만 잘라 낸다 */
.badge {
  position: relative; display: block; width: 190px; height: 58px; overflow: hidden;
  border: 1px solid #a6a6a6; border-radius: 9px; background: #000; transition: transform .2s;
}
.badge img { position: absolute; left: 50%; top: 50%; width: 103%; max-width: none; height: auto; transform: translate(-50%, -50%); }
/* 애플 배지 파일은 흰색이라 색을 뒤집어 구글 배지와 같은 검은색으로 쓴다 */
.badge img[src*="appstore"] { width: 102%; filter: invert(1); }
a.badge:hover { transform: translateY(-3px); }
.note { margin: 18px 0 0; color: var(--faint); font-size: 14px; }
.hero .btn { margin-top: 34px; }

/* 체험 */
.try { padding-top: 40px; }
.try-head { text-align: center; margin-bottom: 40px; }
.try-head h2, .faq h2 { font-size: clamp(30px, 6vw, 48px); }
.hint-line { margin: 14px auto 0; max-width: 520px; color: var(--sub); font-size: 15px; }
/* scroll-margin-top: '체험하기'로 왔을 때 PC에서는 위의 제목과 휴대폰 고르기까지 보이게 여유를 둔다 */
.try-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: start; scroll-margin-top: 290px; }

.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ch; }
.chapters button {
  display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 15px 18px; border-radius: 22px; border: 1px solid var(--line);
  background: var(--glass); color: var(--sub); font-size: 15px; line-height: 1.45;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.chapters button:hover { transform: translateX(4px); }
.chapters b {
  grid-row: span 3; align-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: var(--ink); font-size: 15px;
}
.chapters .t { color: var(--faint); font-size: 13px; font-weight: 700; }
.chapters strong { color: var(--ink); font-size: 18px; letter-spacing: -0.03em; }
.chapters .d { display: none; margin: 6px 0 0; }
.chapters li.on button {
  border-color: rgba(214, 255, 92, 0.6);
  background: linear-gradient(150deg, rgba(60, 42, 170, 0.66), rgba(20, 13, 80, 0.72));
  box-shadow: 0 0 60px -14px rgba(125, 93, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.chapters li.on b { background: var(--hi); color: var(--hi-ink); }
.chapters li.on .t { color: var(--hi); }
.chapters li.on .d { display: block; }
.chapters li.done b { font-size: 0; }
.chapters li.done b::after { content: "✓"; font-size: 16px; }
.now { display: none; }

.device-wrap { position: sticky; top: 78px; display: grid; justify-items: center; gap: 14px; }
.todo {
  display: flex; align-items: center; gap: 10px; margin: 0; min-height: 46px; max-width: 344px;
  padding: 6px 16px 6px 6px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.3;
  background: rgba(20, 12, 80, 0.6); border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.todo b { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--hi); color: var(--hi-ink); }
.todo button, .todo a { flex: none; margin-left: 4px; padding: 7px 12px; border: 0; border-radius: 999px; background: var(--hi); color: var(--hi-ink); font-weight: 700; font-size: 13px; text-decoration: none; cursor: pointer; }
.reset { padding: 8px 14px; border: 0; background: none; color: var(--faint); font-size: 13px; text-decoration: underline; cursor: pointer; }

/* 휴대폰 전용: 체험을 고르는 한 줄 버튼과, 목록 창 뒤를 가리는 막. PC에서는 쓰지 않는다 */
.picker, .scrim { display: none; }
/* 지금 할 일을 담는 칸. PC에서는 없는 것처럼 두고, 휴대폰에서만 휴대폰 위에 겹치는 데 쓴다 */
.todo-slot { display: contents; }

/* 갤럭시·아이폰 고르기 */
.modes { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.modes button { padding: 8px 22px; border: 0; border-radius: 999px; background: none; color: var(--sub); font-weight: 700; font-size: 14px; cursor: pointer; }
.modes button[aria-pressed="true"] { background: var(--hi); color: var(--hi-ink); }

/* 휴대폰 틀: 정면 그대로 두고, 금속 테두리의 빛과 옆 버튼, 유리 광택, 겹친 그림자로 입체감을 낸다.
   기본은 갤럭시 S26(덜 둥근 모서리, 가운데 카메라 구멍), .ios 는 아이폰 18 프로(둥근 모서리, 좁아진 다이내믹 아일랜드) */
.device {
  --sh: clamp(540px, calc(100svh - 236px), 690px);
  --metal: linear-gradient(90deg, #5d606d, #e4e6ec 50%, #7b7e8b);
  position: relative; padding: 5px; border: 4px solid transparent; border-radius: 38px;
  background: linear-gradient(#060608, #060608) padding-box,
    linear-gradient(115deg, #f7f8fb 0%, #b3b6c2 4%, #565864 12%, #23242b 30%, #101014 50%, #23242b 70%, #565864 88%, #b3b6c2 96%, #f7f8fb 100%) border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 1px #08080b,
    0 0 110px 6px rgba(125, 93, 255, 0.5), 0 18px 30px -10px rgba(3, 2, 30, 0.85), 0 70px 90px -30px rgba(3, 2, 30, 0.95);
}
/* 앞 카메라 */
.device::before {
  content: ""; position: absolute; top: 17px; left: 50%; z-index: 5; width: 10px; height: 10px; transform: translateX(-50%);
  border-radius: 50%; background: #06060a; box-shadow: inset 0 0 0 2px #1d1d2a;
}
/* 옆 버튼. 갤럭시는 오른쪽에 음량(위)과 전원(아래) */
.device::after {
  content: ""; position: absolute; inset: 0 -7px; pointer-events: none;
  background: var(--metal) right 0 top 22% / 3px 12% no-repeat, var(--metal) right 0 top 40% / 3px 7% no-repeat;
}
/* 화면 비율은 실제 캡처(923x2000)와 같다 */
.screen { position: relative; height: var(--sh); aspect-ratio: 923 / 2000; border-radius: 29px; overflow: hidden; background: #fff center / 100% 100% no-repeat; }
/* 유리 광택. 누르는 데 방해되지 않게 한다 */
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 21%, transparent 33%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.device.ios { padding: 6px; border-radius: 52px; }
.device.ios .screen { border-radius: 42px; }
.device.ios::before { top: 15px; width: 20%; height: auto; aspect-ratio: 2.35; border-radius: 99px; box-shadow: none; }
/* 아이폰은 왼쪽에 동작 버튼과 음량 둘, 오른쪽에 전원과 카메라 버튼 */
.device.ios::after {
  background: var(--metal) left 0 top 17% / 3px 4% no-repeat, var(--metal) left 0 top 25% / 3px 7.5% no-repeat, var(--metal) left 0 top 35% / 3px 7.5% no-repeat,
    var(--metal) right 0 top 28% / 3px 12% no-repeat, var(--metal) right 0 top 57% / 2px 6% no-repeat;
}

/* 아이폰 공유창 안내 */
.guide { max-width: 760px; padding-top: 40px; }
.guide-card { padding: 34px 28px; border-radius: 28px; background: var(--glass); border: 1px solid var(--line); }
.guide h2 { font-size: clamp(26px, 5.4vw, 38px); }
.guide h3 { margin: 26px 0 8px; font-size: 16px; color: var(--hi); }
.guide p { margin: 12px 0 0; color: var(--sub); }
.guide ol { margin: 0; padding-left: 22px; }
.guide li { margin-top: 6px; }
.guide .small { font-size: 13px; color: var(--faint); }

/* 질문 */
.faq { max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 30px; }
details {
  margin-top: 10px; padding: 18px 22px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--line);
}
details[open] { border-color: rgba(214, 255, 92, 0.45); }
summary { cursor: pointer; font-weight: 700; font-size: 17px; }
details p { margin: 10px 0 0; color: var(--sub); }

/* 마무리 */
.cta { text-align: center; }
.cta-card {
  padding: 56px 24px; border-radius: 36px; border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(150deg, rgba(74, 53, 201, 0.7), rgba(20, 13, 80, 0.8));
  box-shadow: 0 0 120px -30px rgba(125, 93, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.cta-card > img { margin: 0 auto 20px; border-radius: 18px; box-shadow: 0 14px 30px rgba(6, 3, 50, 0.6); }
.cta h2 { font-size: clamp(30px, 6.5vw, 48px); }

footer { padding: 40px 20px 56px; text-align: center; color: var(--faint); font-size: 13px; background: rgba(4, 3, 18, 0.6); border-top: 1px solid var(--line); }
footer .foot-title { margin: 0 0 12px; font-weight: 700; font-size: 15px; color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 18px; font-size: 14px; color: var(--sub); }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--hi); }
footer p { margin: 6px 0; }
footer .copy { margin-top: 14px; font-size: 12px; }
footer .copy a { text-decoration: none; }

/* 좁은 화면(휴대폰): 체험은 한 줄 버튼으로 고른다. 버튼을 누르면 일곱 개 목록이 아래에서 올라온다.
   위에서부터 고르기 버튼, 제목, 휴대폰, 지금 할 일(휴대폰이 화면보다 길면 화면 아래에 떠 있다) */
@media (max-width: 900px) {
  section { padding: 60px 16px; }
  .hero { padding-top: 120px; }
  .lead { font-size: 16px; }
  .try-head { margin-bottom: 22px; }
  .try-head h2 { font-size: clamp(20px, 6.3vw, 30px); }
  /* '체험하기'로 오면 고르기 버튼이 상단바 바로 아래에 오고 휴대폰이 바로 보인다 */
  .try-body { grid-template-columns: minmax(0, 1fr); gap: 0; scroll-margin-top: 78px; }
  .device-wrap { position: static; gap: 14px; }
  .picker {
    display: flex; order: 1; align-items: center; gap: 10px; height: 48px; padding: 0 14px 0 8px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.08);
    color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -0.02em;
  }
  .picker b { padding: 6px 11px; border-radius: 999px; background: var(--hi); color: var(--hi-ink); font-size: 13px; }
  .picker svg { width: 18px; height: 18px; fill: none; stroke: var(--sub); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
  .picker[aria-expanded="true"] svg { transform: rotate(180deg); }
  .now { display: block; order: 2; text-align: center; }
  .now strong { display: block; font-size: 22px; line-height: 1.3; letter-spacing: -0.03em; }
  .now p { display: none; }
  .device { --sh: clamp(460px, calc(100svh - 170px), 660px); }
  /* 지금 할 일은 휴대폰 맨 위(상태 표시줄 자리)에 겹쳐 놓는다. 가려져도 되는 자리라 아래 공간을 아낀다.
     휴대폰을 내려 보는 동안에는 상단바 아래에 붙어서 따라온다. 높이 0인 칸이라 자리를 차지하지 않는다 */
  .todo-slot { display: block; order: 3; justify-self: stretch; position: sticky; top: 56px; z-index: 12; height: 0; margin-top: -14px; }
  .todo {
    position: absolute; top: 22px; left: 50%; width: max-content; max-width: 100%; transform: translateX(-50%);
    background: rgba(20, 12, 80, 0.88); box-shadow: 0 10px 26px rgba(3, 2, 30, 0.55);
  }
  .device { order: 4; }
  .reset { order: 5; }
  /* 목록 창: 화면 아래에서 올라온다 */
  .scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(3, 2, 20, 0.62); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .chapters {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; gap: 6px; max-height: 84svh; overflow-y: auto;
    padding: 10px 14px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-radius: 24px 24px 0 0;
    background: #140f3f; box-shadow: 0 -20px 60px rgba(3, 2, 30, 0.7);
    transform: translateY(105%); visibility: hidden; transition: transform .28s ease, visibility 0s .28s;
  }
  .chapters::before { content: ""; width: 40px; height: 4px; margin: 2px auto 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); }
  .try-body.open .scrim { opacity: 1; pointer-events: auto; }
  .try-body.open .chapters { transform: none; visibility: visible; transition: transform .28s ease; }
  .chapters button { grid-template-columns: 30px 1fr; column-gap: 12px; padding: 10px 14px 10px 12px; border-radius: 16px; }
  .chapters button:hover { transform: none; }
  .chapters b { grid-row: span 2; align-self: center; width: 30px; height: 30px; font-size: 14px; }
  .chapters .t { color: var(--ink); font-size: 15px; }
  .chapters li.on .t { color: var(--hi); }
  .chapters strong { color: var(--sub); font-size: 13px; font-weight: 400; letter-spacing: -0.02em; }
  .chapters strong em { color: inherit; }
  .chapters .d, .chapters li.on .d { display: none; }
}
@media (max-width: 360px) { .device { zoom: 0.92; } }
@media (max-width: 420px) {
  /* 좁은 화면에서도 배지 두 개가 한 줄에, 상단 버튼 두 개가 한 줄에 들어가게 줄인다 */
  .badge { width: 156px; height: 48px; }
  .top { padding: 12px 14px; }
  .brand { gap: 8px; font-size: 17px; }
  .top .btn { padding: 9px 13px; font-size: 13px; }
}

/* 스크롤하면 나타나기 (자바스크립트가 있을 때만 숨겨 둔다) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* 체험판: 실제 앱 화면 캡처와 지금 눌러 볼 곳 */
.shot { width: 100%; height: 100%; user-select: none; animation: shot .24s ease; }
@keyframes shot { from { opacity: 0; } }
.hot {
  position: absolute; padding: 0; border: 0; border-radius: 14px; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 0 0 2.5px #a6e22e, 0 0 0 7px rgba(166, 226, 46, 0.28);
  animation: hint 1.3s ease-in-out infinite;
}
@keyframes hint { 50% { box-shadow: 0 0 0 2.5px #a6e22e, 0 0 0 13px rgba(166, 226, 46, 0); } }
/* 작은 단추도 손가락으로 누르기 쉽게 누르는 범위를 넓힌다 */
.hot::after { content: ""; position: absolute; inset: -10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

