:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --ink: #15171c;
  --ink-2: #4a4f5c;
  --ink-3: #8a90a0;
  --line: #e6e8ef;
  --brand: #3d5afe;
  --brand-ink: #ffffff;
  --accent: #ffc83d;
  --green: #e8f7ee;
  --blue: #eaf0ff;
  --yellow: #fff6dc;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand); color: var(--brand-ink);
  font-weight: 900; font-size: 17px;
  box-shadow: 3px 3px 0 var(--accent);
}
.logo-mark.sm { width: 24px; height: 24px; font-size: 13px; border-radius: 7px; box-shadow: 2px 2px 0 var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero-inner { position: relative; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(34px, 5.6vw, 58px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; position: relative; z-index: 1; }
.hl { background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); }
.lead { max-width: 560px; margin: 22px 0 34px; color: var(--ink-2); font-size: 18px; position: relative; z-index: 1; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-deco { position: absolute; right: 0; top: -20px; width: 380px; height: 340px; pointer-events: none; }
.blob { position: absolute; border-radius: 30%; }
.b1 { width: 180px; height: 180px; right: 120px; top: 30px; background: var(--blue); transform: rotate(12deg); }
.b2 { width: 120px; height: 120px; right: 20px; top: 150px; background: var(--yellow); transform: rotate(-10deg); border-radius: 50%; }
.b3 { width: 90px; height: 90px; right: 210px; top: 210px; background: var(--green); transform: rotate(24deg); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 14px;
  font-weight: 700; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(61,90,254,.28); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-play { height: 40px; padding: 0 16px; font-size: 14px; background: var(--ink); color: #fff; border-radius: 12px; }
.btn-play:hover { background: var(--brand); }

/* sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin: 0; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.03em; font-weight: 800; }
.section-sub { margin: 8px 0 36px; color: var(--ink-2); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21,23,28,.08); }
.tint-green { background: linear-gradient(180deg, var(--green), #fff 55%); }
.tint-blue { background: linear-gradient(180deg, var(--blue), #fff 55%); }
.tint-yellow { background: linear-gradient(180deg, var(--yellow), #fff 55%); }
.card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.app-icon { width: 72px; height: 72px; flex: none; border-radius: 18px; background: #fff; box-shadow: 0 4px 12px rgba(21,23,28,.12); object-fit: cover; font-size: 0; color: transparent; overflow: hidden; }
.tag { display: inline-block; margin-bottom: 4px; padding: 2px 9px; border-radius: 99px; background: rgba(21,23,28,.06); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.card h3 { margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.card p { margin: 0 0 22px; color: var(--ink-2); font-size: 15px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.link-sm { font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.link-sm:hover { color: var(--ink); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.about-text { margin: 18px 0 0; color: var(--ink-2); font-size: 17px; }
.info { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.info div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info div:last-child { border-bottom: 0; }
.info dt { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.info dd { margin: 0; font-weight: 600; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 16px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease; }
.contact-item:hover { border-color: var(--brand); }
.ci-label { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.ci-value { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }

/* footer */
.footer { background: var(--ink); color: #c5c9d4; padding: 48px 0 56px; font-size: 13px; }
.footer-inner { display: flex; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; font-size: 16px; flex: none; height: 24px; }
.legal p { margin: 0 0 14px; line-height: 1.8; }
.copy { color: #7d8394; }

/* responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .hero-deco { opacity: .45; right: -140px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .hero { padding: 64px 0 72px; }
  .lead { font-size: 16px; }
  .section { padding: 64px 0; }
  .contact { grid-template-columns: 1fr; }
  .info div { grid-template-columns: 100px 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
@media (max-width: 380px) {
  .logo-text { display: none; }
}
