/* aquadote.app 소개 페이지 (2026-10-09)
   색은 기획 지시서(CODI_LANDING.md 2번) 그대로. 폰(390px) 한 열이 기본, 넓으면 두 열.
   주황 버튼의 글자는 흰색이 아니라 진한 #132326 (대비) */
:root {
  --cyan: #5DC7D0;
  --orange: #F57F20;
  --dark: #09262A;
  --dark2: #0F333A;
  --light: #F7FAFA;
  --ink: #132326;
  --teal-ink: #177882;
  --line: #DCE9EA;
  --muted: #4B5D60;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'IBM Plex Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
  /* 한국어 단어가 줄 끝에서 중간에 끊기지 않게 (지시서: '사|람들이'로 끊기면 안 됨) */
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .08em; }

/* ── 버튼 (손가락으로 누르기 쉽게 높이 48px) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: default; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-teal { background: var(--cyan); color: var(--ink); width: 100%; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn:focus-visible, .lang:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 2px;
}

/* ── 위쪽 줄 ── */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(9, 38, 42, .92); backdrop-filter: blur(8px); }
.topbar-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.wordmark { width: 128px; height: auto; image-rendering: pixelated; display: block; }
.menu { display: none; gap: 20px; }
.menu a { color: #CFE7EA; text-decoration: none; font-size: 15px; }
.menu a:hover { color: #fff; }
.lang {
  min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px;
  background: transparent; color: #E6F4F5; border: 1px solid rgba(255,255,255,.18);
  font: inherit; font-size: 14px; cursor: pointer;
}

/* ── 첫 화면 ── */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.dots { position: absolute; inset: 0; pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.appline { display: flex; align-items: center; gap: 14px; }
.appicon { width: 56px; height: 56px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); image-rendering: pixelated; }
.appname { font-size: 18px; }
.appname span { color: #CFE7EA; font-weight: 400; }
.soon { font-family: 'IBM Plex Mono', monospace; color: var(--cyan); font-size: 12px; letter-spacing: .14em; }
.title { font-size: clamp(40px, 11vw, 64px); line-height: 1.15; margin: 22px 0 18px; letter-spacing: -.01em; }
.lead { font-size: 17px; color: #DCEDEF; margin: 0 0 20px; max-width: 34em; }
.chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #E6F4F5; }

.signup { background: rgba(15, 51, 58, .92); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px 20px; max-width: 520px; }
.signup-title { font-size: 18px; margin: 0 0 14px; }
.signup input[type=email] {
  width: 100%; min-height: 50px; border-radius: 10px; border: 0; padding: 0 16px;
  font: inherit; font-size: 16px; background: var(--light); color: var(--ink); margin-bottom: 12px;
}
.signup .btn { width: 100%; }
/* 출시 소식 받는 곳: 앱 장터 사전 등록 · 인스타그램 (장터 로고 그림은 쓰지 않고 글자 버튼으로) */
.notify + .signup { margin-top: 16px; }
.notify-sub { margin: 0 0 16px; font-size: 15px; color: #CFE7EA; }
.stores { display: grid; gap: 10px; }
.store {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 18px; border-radius: 12px; text-decoration: none;
  background: var(--orange); color: var(--ink); font-size: 16px;
}
.store .store-state { font-size: 14px; font-weight: 700; }
.store.is-soon { background: transparent; color: #E6F4F5; border: 1px dashed rgba(255,255,255,.35); cursor: default; }
.store.is-soon .store-state { color: var(--cyan); font-weight: 500; white-space: nowrap; }
.store:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
@media (min-width: 480px) { .stores { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; color: #CFE7EA; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--cyan); }
.consent a { color: var(--cyan); }
.msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; }
.msg.ok { color: #7FE0B0; }
.msg.err { color: #FFB27A; }
.light .msg.ok { color: #13795B; }
.light .msg.err { color: #B4471A; }

/* 지나가는 픽셀 네온테트라 (움직임을 줄이는 설정이면 멈춰요) */
.swimmers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.swim { position: absolute; width: 64px; image-rendering: pixelated; opacity: .9; }
.s1 { top: 22%; animation: swimL 26s linear infinite; }
.s2 { top: 58%; width: 48px; animation: swimL 34s linear infinite; animation-delay: -14s; }
/* 오른쪽에서 왼쪽으로 헤엄쳐요 (2026-10-13 이해님). neon.png는 머리가 왼쪽이라 뒤집지 않고 그대로 써요.
   방향을 반대로 바꾸려면 scaleX(-1)로 뒤집어야 해요 — 안 뒤집으면 거꾸로 헤엄쳐 보여요 */
@keyframes swimL {
  from { transform: translateX(calc(100vw + 120px)); }
  to { transform: translateX(-120px); }
}

/* 게시글 모양 + 도트 카드 (그림) */
.hero-art { position: relative; max-width: 420px; width: 100%; margin: 0 auto 24px; }
.post { background: var(--light); color: var(--ink); border-radius: 20px; overflow: hidden; width: 86%; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.post-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 15px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--cyan); }
.post-photo { position: relative; background: var(--dark2); aspect-ratio: 4 / 3; overflow: hidden; }
.pf { position: absolute; image-rendering: pixelated; }
.f1 { width: 30%; left: 12%; top: 18%; }
.f2 { width: 22%; left: 48%; top: 46%; }
.f3 { width: 18%; left: 24%; top: 62%; }
.sand { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: #224A40; }
.post-body { padding: 10px 14px 14px; font-size: 14px; }
.post-body p { margin: 4px 0 0; padding-right: 22%; } /* 겹친 도트 카드에 글이 가리지 않게 */
.post-icons { display: flex; gap: 14px; align-items: center; }
.heart { color: var(--orange); font-size: 20px; line-height: 1; }
.bubble { width: 18px; height: 15px; border: 2px solid var(--ink); border-radius: 2px; position: relative; }
.tags { color: var(--teal-ink); }
.card {
  position: absolute; right: 0; bottom: -18px; width: 38%; aspect-ratio: 3 / 4;
  background: var(--light); color: var(--ink); border: 4px solid var(--cyan); border-radius: 12px;
  transform: rotate(6deg); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; box-shadow: 0 12px 28px rgba(0,0,0,.35); padding: 10px;
}
.card img { width: 80%; image-rendering: pixelated; }
.card b { font-size: 14px; }
.rarity { position: absolute; top: 8px; right: 8px; background: var(--dark); color: var(--cyan); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }

/* ── 밝은 칸 ── */
.light { background: var(--light); padding: 72px 0; }
.kicker { font-size: 13px; color: var(--teal-ink); margin: 0 0 6px; font-weight: 500; }
.kicker.cyan { color: var(--cyan); }
.kicker.orange { color: var(--orange); }
.h2 { font-size: clamp(28px, 7vw, 40px); line-height: 1.25; margin: 0 0 24px; }
.mt { margin-top: 64px; }
.mt-s { margin-top: 40px; }
.features { display: grid; gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.feature h3 { font-size: 20px; margin: 12px 0 8px; }
.feature p { margin: 0; color: var(--muted); }
.feature.dark { background: var(--dark); color: #fff; border: 0; }
.feature.dark p { color: #CFE7EA; }
.feature.band { background: #E6F2F3; border: 0; }
.feature.band h3 { margin-top: 0; }
.ficon { width: 28px; height: 28px; fill: none; stroke: var(--teal-ink); stroke-width: 2; }
.ficon.orange { stroke: var(--orange); }
.can { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.can li { position: relative; padding-left: 24px; font-size: 16px; }
.can li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--cyan); }
.can li.orange::before { background: var(--orange); }

/* 앱 화면 미리 보기: 세로 폰 틀 (화면 비율 9 : 19.5) */
.phones { display: grid; gap: 28px; justify-items: center; }
.phone { margin: 0; width: min(280px, 78vw); padding: 12px; border-radius: 40px; background: #0D2023; box-shadow: 0 18px 40px rgba(9, 38, 42, .25); position: relative; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; border-radius: 999px; background: #0D2023; z-index: 2; }
.screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 30px; overflow: hidden; background: var(--light); display: flex; align-items: center; justify-content: center; }
.screen span { color: var(--muted); font-size: 14px; padding: 0 16px; text-align: center; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen img + span { display: none; }

/* ── 어두운 칸 (이름의 뜻 · 기념 카드) ── */
.dark-a, .dark-b { color: #fff; padding: 72px 0; }
.dark-a { background: var(--dark); }
.dark-b { background: var(--dark2); }
.bigmark { width: min(320px, 80%); height: auto; image-rendering: pixelated; display: block; margin-bottom: 28px; }
.body { font-size: 17px; color: #DCEDEF; max-width: 36em; margin: 0 0 28px; }
.dot { color: var(--orange); font-weight: 700; }

/* ── 자주 묻는 질문 ── */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); flex: none; margin-left: 12px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ── 한마디 남겨 주세요 ── */
.notes { margin-top: 64px; }
.with-icon { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.bubble-icon { width: 36px; height: 32px; fill: var(--cyan); flex: none; }
.sub { margin: 0 0 12px; color: var(--muted); font-size: 17px; }
.pill { display: inline-block; margin: 0 0 22px; background: #DDF1F3; color: var(--teal-ink); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
#noteForm label { display: block; font-weight: 700; margin: 0 0 8px; }
#noteForm input, #noteForm textarea {
  width: 100%; border: 1px solid #CFE0E2; border-radius: 12px; background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; padding: 12px 16px; margin-bottom: 18px;
}
#noteForm input { min-height: 50px; }
#noteForm textarea { resize: vertical; min-height: 140px; margin-bottom: 4px; }
.count { text-align: right; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 34px; color: var(--muted); }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #DDF1F3; color: var(--teal-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.note-list { display: grid; gap: 12px; }
.note { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.note.is-pending { border-style: dashed; background: #FBFDFD; }
.note-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.note-head time { margin-left: auto; color: var(--muted); font-size: 13px; }
.note .tag { font-size: 12px; font-weight: 700; color: var(--teal-ink); background: #DDF1F3; border-radius: 999px; padding: 2px 10px; }
.note p { margin: 8px 0 0; white-space: pre-wrap; }
.link-btn { margin-top: 8px; background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--muted); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
.note-empty { border: 2px dashed #BFDCDF; border-radius: 14px; padding: 28px 16px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.note-empty span { color: var(--muted); }
.mail-note { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.mail-note a { color: var(--teal-ink); }

/* ── 아래쪽 ── */
.footer { position: relative; background: var(--dark); color: #DCEDEF; padding: 48px 0 56px; overflow: hidden; }
.foot-in { position: relative; display: grid; gap: 18px; }
.foot-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.foot-line img { image-rendering: pixelated; }
.foot-line a { color: var(--cyan); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: #DCEDEF; min-height: 44px; display: inline-flex; align-items: center; }

/* ── 넓은 화면 ── */
@media (min-width: 720px) {
  .menu { display: flex; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature.band { grid-column: 1 / -1; }
  .phones { grid-template-columns: repeat(3, 1fr); }
  .notes { max-width: 720px; }
}
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 64px; padding-bottom: 96px; }
  .title { font-size: 64px; }
  .wordmark { width: 150px; }
}
/* ── 움직임 (2026-10-13 이해님 결정: 차분하게) ──
   내리면 떠오르기: app.js가 html에 'motion'을 붙였을 때만 숨겼다가 보여요 */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.motion .reveal.in { opacity: 1; transform: none; }
/* 도트 카드: 살짝 둥실 + 가끔 빛이 한 번 지나가요 */
.card { overflow: hidden; animation: cardFloat 6s ease-in-out infinite; }
.card::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(93, 199, 208, .3), transparent);
  transform: skewX(-12deg); animation: cardShine 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(4.5deg) translateY(-7px); }
}
@keyframes cardShine { 0%, 70% { left: -60%; } 90%, 100% { left: 130%; } }
/* 게시글 하트: 4.5초에 한 번 톡 */
.heart { display: inline-block; animation: heartPop 4.5s ease-in-out infinite; }
@keyframes heartPop { 0%, 80%, 100% { transform: scale(1); } 86% { transform: scale(1.3); } 92% { transform: scale(.96); } }

@media (prefers-reduced-motion: reduce) {
  .swim { animation: none; display: none; }
  .card, .card::after, .heart { animation: none; }
  html { scroll-behavior: auto; }
}
