:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #686868;
  --line: #e9e9e9;
  --focus: #365bd8;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
}
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
.template-backdrop { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: #f5f6f8; }
.template-card { position: absolute; width: clamp(200px, 22vw, 280px); height: auto; padding: 8px; border-radius: 4px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.08); opacity: .85; }
.card-1 { left: clamp(-90px, calc(50% - 640px), 30px); top: -150px; transform: rotate(-12deg); }
.card-2 { left: clamp(-145px, calc(50% - 450px), 220px); top: 34%; transform: rotate(8deg); }
.card-3 { right: clamp(-90px, calc(50% - 640px), 30px); top: -130px; transform: rotate(12deg); }
.card-4 { right: clamp(-145px, calc(50% - 450px), 220px); top: 32%; transform: rotate(-8deg); }
.card-5 { left: clamp(-80px, calc(50% - 640px), 40px); bottom: -200px; transform: rotate(-7deg); }
.card-6 { right: clamp(-80px, calc(50% - 640px), 40px); bottom: -160px; transform: rotate(9deg); }
body::after { z-index: -1; background: radial-gradient(ellipse 36% 66% at 50% 45%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 50%, rgba(255,255,255,.38) 100%); }
main { width: min(100%, 340px); margin-block: auto; padding-block: 20px 48px; text-align: center; }
.app-icon { display: block; width: 160px; height: 160px; margin: 0 auto 12px; mix-blend-mode: multiply; }
h1 { margin: 0; font-size: 38px; line-height: 1.28; letter-spacing: -.055em; font-weight: 750; word-break: keep-all; }
.description { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; letter-spacing: -.03em; word-break: keep-all; }
.download { margin-top: 36px; }
.stores { display: grid; gap: 12px; }
.store-link { display: flex; justify-content: center; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 15px 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.5; font-weight: 650; text-decoration: none; }
.store-link svg { flex-shrink: 0; }
.store-link:hover { background: #383838; }
#stores > .store-link + .store-link { background: #f3f3f3; color: var(--ink); border-color: #f3f3f3; }
#stores > .store-link + .store-link:hover { background: #e9e9e9; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
details { margin-top: 10px; }
summary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 12px; color: var(--muted); font-size: 13px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 16px; }
details[open] summary::after { content: "−"; }
details .stores { margin-top: 9px; }
details .store-link { background: var(--paper); color: var(--ink); border-color: var(--line); }
details .store-link:hover { background: #f6f6f6; }
footer { display: flex; justify-content: center; align-items: center; gap: 18px; width: 100%; flex-wrap: wrap; color: var(--muted); font-size: 12px; line-height: 1.5; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-underline-offset: 4px; }
[hidden] { display: none !important; }
@media (max-width: 360px) { body { padding-inline: 20px; } h1 { font-size: 34px; } .description { font-size: 14px; } .store-link { padding-inline: 12px; } }
@media (max-height: 650px) { main { padding-block: 12px 28px; } .download { margin-top: 28px; } .app-icon { width: 128px; height: 128px; margin-bottom: 12px; } }
