@font-face {
  font-family: "Noto Sans KR";
  src: url("/assets/fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("/assets/fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("/assets/fonts/NotoSansKR-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: #f8fafc;
  --mint: #08d6c9;
  --green: #10b981;
  --red: #ef4444;
  --blue: #2563eb;
  --amber: #f59e0b;
  --pink: #fb7185;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
  --soft-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 21px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(8, 214, 201, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  padding: 70px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(8, 214, 201, 0.12), transparent 32%),
    linear-gradient(240deg, rgba(251, 113, 133, 0.13), transparent 34%),
    #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 80%);
  pointer-events: none;
}

.hero-inner,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 58px;
}

.hero-copy-wrap,
.phone-stage,
.product-grid > *,
.safety-band > *,
.download-box > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 999px;
  color: var(--red);
  background: rgba(239, 68, 68, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(42px, 6.1vw, 82px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--mint);
  text-shadow: 0 14px 32px rgba(8, 214, 201, 0.2);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  min-height: 58px;
  padding: 10px 16px;
  border: 1px solid #111827;
  border-radius: 14px;
  color: white;
  background: #111827;
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(17, 24, 39, 0.26);
}

.store-button.light {
  color: var(--ink);
  background: white;
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: rgba(255,255,255,0.13);
}

.store-button.light .store-icon {
  background: var(--wash);
}

.store-button small,
.store-button strong {
  display: block;
}

.store-button small {
  font-size: 11px;
  color: currentColor;
  opacity: 0.72;
  line-height: 1.15;
}

.store-button strong {
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.1;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
  max-width: 650px;
}

.hero-point {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
}

.hero-point b {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.hero-point span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 720px;
}

.phone {
  position: relative;
  width: min(360px, 86vw);
  border: 10px solid #111827;
  border-radius: 40px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 23px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111827;
}

.phone-screen {
  position: relative;
  min-height: 690px;
  padding: 42px 16px 18px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.85), #ffffff 36%),
    #ffffff;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 86px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--soft-shadow);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef6ff;
  border: 2px solid #d6e4ff;
}

.phone-header strong,
.phone-header span {
  display: block;
}

.phone-header strong {
  font-size: 15px;
}

.phone-header span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.verdict-card,
.write-card,
.quest-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.verdict-card {
  padding: 18px;
}

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--red);
  background: rgba(239, 68, 68, 0.1);
  font-size: 11px;
  font-weight: 800;
}

.verdict-card h2,
.verdict-card h3 {
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.38;
}

.choice {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
  font-size: 13px;
  font-weight: 800;
}

.choice::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--pct) * 1%);
  background: rgba(16, 185, 129, 0.11);
  transform-origin: left center;
  animation: barGrow 1100ms ease both;
}

.choice span,
.choice b {
  position: relative;
  z-index: 1;
}

.choice.winning {
  border-color: rgba(16, 185, 129, 0.75);
  color: #047857;
  background: rgba(16, 185, 129, 0.07);
}

.mini-stat {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.comment {
  width: fit-content;
  max-width: 260px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  background: white;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 800;
  animation: popIn 600ms ease both;
}

.comment.dark {
  margin-left: auto;
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.floating-shot {
  position: absolute;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
  animation: floatY 4.8s ease-in-out infinite;
}

.floating-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-shot.one {
  top: 56px;
  right: 0;
  width: 128px;
  height: 128px;
}

.floating-shot.two {
  left: 0;
  bottom: 122px;
  width: 150px;
  height: 118px;
  animation-delay: -1.4s;
}

.floating-shot.badge {
  right: 20px;
  bottom: 52px;
  width: 160px;
  padding: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  animation-delay: -2.2s;
}

.floating-shot.badge b {
  display: block;
  color: var(--green);
  font-family: "Outfit", sans-serif;
  font-size: 24px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--wash);
  border-block: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.section h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.14;
  font-weight: 800;
}

.section-lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.flow-card,
.feature-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.flow-card {
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
}

.flow-card img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
}

.flow-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.flow-card h3,
.feature-card h3,
.legal-card h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.flow-card p,
.feature-card p,
.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}

.phone.compact .phone-screen {
  min-height: 610px;
  padding-top: 38px;
}

.write-card,
.quest-card,
.profile-card {
  padding: 16px;
}

.input-block {
  min-height: 112px;
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: var(--muted);
  background: var(--wash);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

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

.pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 800;
}

.ai-button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 0;
  border-radius: 13px;
  color: #4338ca;
  background: #eef2ff;
  font-weight: 800;
}

.quest-card {
  margin-top: 14px;
}

.quest-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.quest-row:last-child {
  border-bottom: 0;
}

.quest-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--wash);
}

.quest-row strong,
.quest-row small {
  display: block;
}

.quest-row small {
  margin-top: 3px;
  color: var(--muted);
}

.xp {
  color: var(--green);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon { background: var(--green); }
.feature-card:nth-child(3) .feature-icon { background: var(--blue); }
.feature-card:nth-child(4) .feature-icon { background: var(--pink); }

.safety-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 40px;
  align-items: center;
}

.safety-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.safety-panel img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.safety-panel div {
  padding: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.6;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: white;
  background: var(--green);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}

.download-section {
  padding: 80px 0;
  color: white;
  background: #111827;
}

.download-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.download-box h2 {
  color: white;
}

.download-box p {
  color: rgba(255,255,255,0.72);
}

.download-box .store-button.light {
  background: white;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}

.legal-hero {
  padding: 78px 0 44px;
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.1;
}

.legal-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}

.legal-layout {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 90px;
}

.legal-block {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.legal-block:first-child {
  margin-top: 0;
}

.legal-block h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.legal-block h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-block p,
.legal-block li {
  color: var(--ink-soft);
  line-height: 1.82;
  font-weight: 600;
}

.legal-block ul,
.legal-block ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.notice {
  padding: 16px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.09);
  color: #92400e;
  font-weight: 700;
}

.route-chip {
  display: inline-flex;
  margin: 6px 6px 0 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--wash);
  font-size: 13px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 980px) {
  .hero-inner,
  .product-grid,
  .safety-band,
  .download-box {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: 700px;
  }

  .flow-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .download-box {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 24px, 1160px);
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 72px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(38px, 13.5vw, 52px);
  }

  .hero-copy {
    max-width: 300px;
    font-size: 16px;
    word-break: break-all;
  }

  .download-row,
  .hero-points {
    max-width: 300px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner,
  .legal-layout {
    width: calc(100vw - 24px);
    max-width: 1160px;
  }

  .hero-inner {
    display: block;
  }

  .hero-copy-wrap,
  .hero-copy,
  .download-row,
  .hero-points,
  .phone-stage {
    width: 100%;
    max-width: calc(100vw - 24px);
  }

  .hero-copy,
  .download-row,
  .hero-points {
    max-width: 300px;
  }

  .phone-stage {
    margin-top: 42px;
    overflow: hidden;
  }

  .phone {
    width: min(320px, calc(100vw - 36px));
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .download-row {
    width: 100%;
  }

  .store-button {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .floating-shot.one {
    right: -2px;
    width: 96px;
    height: 96px;
  }

  .floating-shot.two {
    left: -4px;
    width: 112px;
    height: 92px;
  }

  .floating-shot.badge {
    right: 4px;
    width: 132px;
  }

  .section {
    padding: 66px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
