:root {
  --cyan: #02bcc5;
  --cyan-deep: #008f97;
  --teal-night: #033f42;
  --ink: #1e2025;
  --muted: #5d636e;
  --line: #e4e7ec;
  --paper: #f7f7f9;
  --white: #fff;
  --pink: #df1464;
  --b-yellow: #fbbc05;
  --b-blue: #5ec1f0;
  --b-red: #ff6667;
  --b-gray: #a0a0a0;
  --b-green: #a7d238;
  --font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section-space { padding-block: clamp(72px, 10vw, 128px); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan-deep); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 247, 249, 0.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(30, 32, 37, 0.06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 10px; }
nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
nav a:hover { color: var(--ink); background: rgba(2, 188, 197, 0.1); }
nav .nav-download { color: var(--white); background: var(--teal-night); }
nav .nav-download:hover { color: var(--white); background: #05585c; }
@media (max-width: 760px) { nav a:not(.nav-download) { display: none; } }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--teal-night); background: var(--white); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(223, 20, 100, 0.15); }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 900; margin-top: 22px; }
.lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.ball-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.ball { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 42%), var(--c); box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.14), 0 6px 14px rgba(30, 32, 37, 0.14); animation: drop 0.6s cubic-bezier(.2,1.4,.4,1) both; }
.ball:nth-child(2) { animation-delay: .06s; } .ball:nth-child(3) { animation-delay: .12s; } .ball:nth-child(4) { animation-delay: .18s; } .ball:nth-child(5) { animation-delay: .24s; } .ball:nth-child(6) { animation-delay: .3s; }
@keyframes drop { from { transform: translateY(-24px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.b-yellow { --c: var(--b-yellow); } .b-blue { --c: var(--b-blue); } .b-red { --c: var(--b-red); } .b-gray { --c: var(--b-gray); } .b-green { --c: var(--b-green); }
.download-options { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.store-link, .store-coming { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 18px; border-radius: 16px; min-height: 60px; text-decoration: none; }
.store-link { background: var(--ink); color: #fff; transition: transform .15s ease, background .15s ease; }
.store-link:hover { background: #000; transform: translateY(-2px); }
.store-link svg { width: 24px; height: 26px; flex: none; color: var(--cyan); }
.store-link span, .store-coming span { display: flex; flex-direction: column; line-height: 1.25; }
.store-link small, .store-coming small { font-size: 12px; opacity: .8; }
.store-link strong, .store-coming strong { font-size: 18px; }
.store-coming { border: 1.5px dashed #b9bec7; color: var(--muted); background: transparent; }
.store-coming em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pink); margin-left: 4px; vertical-align: 2px; }
.ios-mark { font-weight: 800; font-size: 13px; border: 1.5px solid currentColor; border-radius: 7px; padding: 3px 6px; flex: none; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; min-height: 560px; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -10% 4% 10%; background: radial-gradient(closest-side, rgba(2, 188, 197, 0.32), rgba(2, 188, 197, 0)); z-index: 0; }
.phone { margin: 0; background: #0f1113; padding: 10px; border-radius: 44px; box-shadow: 0 30px 60px -20px rgba(3, 63, 66, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.phone img { border-radius: 34px; width: 100%; }
.phone-main { position: relative; z-index: 2; width: min(300px, 62%); margin-left: auto; margin-right: 6%; transform: rotate(2deg); }
.phone-back { position: absolute; z-index: 1; width: min(250px, 52%); left: 2%; top: 14%; transform: rotate(-6deg); opacity: .96; }

/* features */
.section-kicker { color: var(--cyan-deep); font-weight: 800; font-size: 15px; letter-spacing: .02em; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 850; }
.feature { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature-grid .phone { width: min(300px, 100%); justify-self: center; }
.feature-copy > p:not(.section-kicker):not(.fine) { margin-top: 18px; color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.fine { margin-top: 22px; font-size: 14px; color: var(--muted); padding: 12px 16px; background: var(--paper); border-radius: 12px; border-left: 3px solid var(--cyan); }
.fine.center { text-align: center; border-left: 0; max-width: 560px; margin: 88px auto 0; background: var(--white); }
@media (max-width: 560px) { .fine.center { margin-top: 32px; } }

/* qr */
.qr-section { background: var(--teal-night); color: #e9f6f6; }
.qr-section .section-kicker { color: #6fe3e9; }
.qr-section .feature-copy > p:not(.section-kicker):not(.fine) { color: #b8d6d7; }
.qr-section .fine { background: rgba(255, 255, 255, 0.06); color: #b8d6d7; border-left-color: #6fe3e9; }
.qr-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ticket { background: #fdfcf6; color: #2a2a2a; border-radius: 6px; padding: 24px 24px 20px; width: min(380px, 100%); justify-self: center; transform: rotate(-3deg); box-shadow: 0 28px 50px -18px rgba(0, 0, 0, 0.55); font-family: ui-monospace, "SF Mono", Menlo, monospace; position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: radial-gradient(circle at 5px -1px, var(--teal-night) 5px, transparent 5.5px) 0 0/10px 10px repeat-x; }
.ticket::before { top: -1px; } .ticket::after { bottom: -1px; transform: scaleY(-1); }
.ticket-head { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: 12px; border-bottom: 1px dashed #b7b7ad; }
.ticket-lines { padding: 12px 0; border-bottom: 1px dashed #b7b7ad; }
.ticket-lines p { display: flex; gap: 12px; font-size: 16px; line-height: 2; }
.ticket-lines b { color: var(--pink); width: 1.2em; }
.ticket-qr { position: relative; width: 104px; margin: 16px auto 0; padding: 10px; background: #fff; border: 1px solid #ddd; color: #1e2025; overflow: hidden; }
.ticket-qr svg { width: 84px; height: 84px; display: block; }
.scan-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--cyan); box-shadow: 0 0 12px 3px rgba(2, 188, 197, 0.7); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 6px; } 50% { top: calc(100% - 9px); } }

/* results */
.section-heading { max-width: 640px; }
.section-heading > p:last-child:not(.section-kicker) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.shot-pair { display: flex; gap: clamp(20px, 5vw, 56px); justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.shot-pair .phone { width: min(280px, 44%); min-width: 220px; }
.shot-pair .phone:nth-child(2) { transform: translateY(40px); }
.shot-pair figcaption { color: #fff; text-align: center; font-weight: 700; font-size: 14px; padding: 10px 0 2px; }

/* tiles */
.more-section { background: var(--white); }
.tiles { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles li { border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; background: var(--paper); }
.tiles li:nth-child(3n+1) { border-top: 4px solid var(--b-yellow); }
.tiles li:nth-child(3n+2) { border-top: 4px solid var(--b-blue); }
.tiles li:nth-child(3n) { border-top: 4px solid var(--b-red); }
.tiles h3 { font-size: 19px; }
.tiles p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(28px, 5vw, 72px); }
.faq-list { display: grid; gap: 10px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
details[open] { border-color: rgba(2, 188, 197, 0.6); }
summary { cursor: pointer; list-style: none; font-weight: 700; padding: 18px 28px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--cyan-deep); }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 20px; color: var(--muted); }

/* download */
.download-section { background: linear-gradient(160deg, var(--cyan) 0%, var(--cyan-deep) 100%); color: #fff; text-align: center; padding-block: clamp(72px, 10vw, 120px); }
.download-icon { margin: 0 auto 24px; border-radius: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.download-section > .wrap > p { margin-top: 12px; font-size: 18px; color: #e3fbfc; }
.center-row { justify-content: center; }
.store-link.light { background: #fff; color: var(--ink); }
.store-link.light svg { color: var(--cyan-deep); }
.store-link.light:hover { background: #f1fdfd; }
.store-coming.light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.store-coming.light em { color: #fff; background: var(--pink); padding: 1px 6px; border-radius: 6px; }

/* footer */
.site-footer { background: var(--ink); color: #c7cad1; padding-block: 48px 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer .brand { color: #fff; font-size: 17px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-underline-offset: 4px; }
.disclaimer { margin-top: 24px; color: #9aa0aa; max-width: 760px; }
.business-info { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.business-name { color: #fff; font-weight: 700; text-decoration: none; }
.business-name span { font-weight: 400; color: #9aa0aa; }
.business-details { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; }
.business-details div { display: flex; gap: 6px; }
.business-details dt { color: #8a909a; }
.business-details dd { margin: 0; }
.business-details a { color: #c7cad1; }
.copyright { margin-top: 20px; color: #7d838d; }

@media (max-width: 900px) {
  .hero-grid, .feature-grid, .qr-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; height: clamp(440px, 110vw, 620px); }
  .phone-main { margin-inline: auto 4%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .qr-grid .ticket { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .ball { width: 44px; height: 44px; font-size: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .shot-pair .phone { width: 78%; }
  .shot-pair .phone:nth-child(2) { transform: none; }
  .store-link, .store-coming { flex: 1 1 100%; }
}
