/* Sem Bongtu landing. Accent matches the launcher blue #126BFB.
   Gmarket Sans is the round gothic closest to the icon wordmark. */
@font-face {
  font-family: "Gmarket Sans";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gmarket Sans";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F2F4F6;
  --surface: #FFFFFF;
  --fill: #F2F4F6;
  --fill-strong: #E5E8EB;
  --line: #E5E8EB;
  --ink: #191F28;
  --muted: #4E5968;
  --faint: #8B95A1;
  --accent: #126BFB;
  --accent-pressed: #0B57D0;
  --accent-soft: #E8F1FF;
  --danger: #F04452;
  --toast: #333D4B;
  --on-accent: #FFFFFF;
  --radius-card: 22px;
  --radius-btn: 16px;
  --font: "Gmarket Sans", Pretendard, "Segoe UI", system-ui, sans-serif;
  --nav-h: 64px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
}

.skip-link:focus { top: 12px; }

.caption {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.section-lead a { color: var(--accent); }

section { padding: 88px 0; }

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover:not([aria-disabled="true"]) { background: var(--accent-pressed); }

.btn-ghost {
  background: var(--fill-strong);
  color: var(--ink);
}

.btn-ghost:hover:not([aria-disabled="true"]) { background: #D1D6DB; }

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(242, 244, 246, 0.92);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  box-shadow: inset 0 -1px 0 var(--line);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-name { font-size: 17px; font-weight: 700; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links { display: flex; gap: 18px; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-avail {
  color: var(--faint);
  font-size: 14px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-shot {
  margin: 0;
  justify-self: end;
  width: min(100%, 340px);
}

.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.shot-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px max(20px, calc((100% - var(--max)) / 2 + 20px)) 20px;
  scrollbar-width: thin;
}

.shot {
  flex: 0 0 auto;
  width: min(240px, 62vw);
  margin: 0;
  scroll-snap-align: start;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Steps / features */
.how-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.features-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 22px 20px 24px;
}

.step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.card p { color: var(--muted); font-size: 15px; }

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 14px;
}

.local {
  background: var(--surface);
}

.local .wrap { max-width: 720px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pill {
  background: var(--fill);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
}

/* FAQ */
.faq-list { display: grid; gap: 8px; max-width: 720px; }

.faq-list details {
  background: var(--surface);
  border-radius: 16px;
  padding: 4px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--faint);
  font-weight: 500;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
  color: var(--muted);
  padding-bottom: 16px;
}

.faq-list a { color: var(--accent); }

.final-cta { text-align: center; padding-bottom: 96px; }
.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.final-note { color: var(--faint); font-size: 14px; margin-top: 14px; }

/* Footer */
.site-footer {
  padding: 28px 0 36px;
  color: var(--faint);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.footer-brand, .footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }

.footer-links { gap: 16px; }
.footer-links a:hover { color: var(--ink); }
.footer-note { max-width: 52rem; line-height: 1.5; }

/* Reveal */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal-on .reveal.is-in { opacity: 1; transform: none; }
.reveal-on .reveal-delay-1 { transition-delay: 60ms; }
.reveal-on .reveal-delay-2 { transition-delay: 120ms; }
.reveal-on .reveal-delay-3 { transition-delay: 180ms; }
.reveal-on .reveal-delay-4 { transition-delay: 240ms; }

/* Legal */
.page-legal .legal-wrap {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
  padding: 40px 0 80px;
}

.page-legal .legal-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.page-legal .legal-header h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 8px 0 14px;
}

.page-legal .legal-meta,
.page-legal .legal-disclaimer { color: var(--muted); font-size: 14px; }

.page-legal .legal-disclaimer {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 16px;
}

.page-legal .legal-toc {
  margin-bottom: 32px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: 16px;
}

.page-legal .legal-toc h2 { font-size: 15px; margin-bottom: 10px; }

.page-legal .legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.page-legal .legal-toc a { text-decoration: underline; text-underline-offset: 2px; }

.page-legal .legal-section {
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.page-legal .legal-section h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.page-legal .legal-section p,
.page-legal .legal-section li {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.page-legal .legal-section p { margin-bottom: 10px; }

.page-legal .legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

.page-legal .legal-section li { margin-bottom: 6px; }

.page-legal .legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-error {
  text-align: center;
  padding: 96px 0 120px;
}

.page-error h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
  margin: 8px 0 12px;
}

.page-error p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-shot { justify-self: center; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding-top: 28px; }
  .hero-shot { justify-self: center; width: min(100%, 300px); }
  .how-grid, .features-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on .reveal { opacity: 1; transform: none; transition: none; }
}
