@font-face {
  font-family: "LINE Seed Sans KR";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/LINESeedKR-Rg.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "LINE Seed Sans KR";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/LINESeedKR-Bd.woff2") format("woff2");
  font-display: swap;
}

:root {
  --background: #f7f7f5;
  --text: #202322;
  --muted: #858986;
  --line: #dedfdb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--text);
  font-family: "LINE Seed Sans KR", sans-serif;
  font-synthesis: none;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.app-store-toast {
  align-items: center;
  background: rgba(32, 35, 34, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 20px));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  color: var(--background);
  display: flex;
  gap: 12px;
  left: 50%;
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 14px 12px 16px;
  position: fixed;
  transform: translate(-50%, 18px);
  transition: opacity .2s ease, transform .2s ease;
  width: max-content;
  z-index: 10;
}
.app-store-toast.is-visible { transform: translate(-50%, 0); }
.app-store-toast[hidden] { display: none; }
.app-store-toast p {
  font-size: .78rem;
  line-height: 1.45;
  margin: 0;
}
.app-store-toast-close {
  background: transparent;
  border: 0;
  color: var(--background);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 2px;
}
a { color: inherit; text-decoration: none; }
.site-shell { margin: 0 auto; max-width: 1120px; padding: 0 40px; }
.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
}
.wordmark { font-size: 1.15rem; font-weight: 700; letter-spacing: -.04em; }
.header-actions { align-items: center; display: flex; gap: 18px; }
.social-links { display: flex; gap: 18px; }
.social-links a { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.language-toggle {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
  padding: 0;
}
.language-toggle:hover { color: var(--text); }
.hero { padding: 92px 0 105px; }
.role, .section-label, .site-footer {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
}
.role { color: var(--text); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0; }
h1, h2, p { margin-top: 0; }
h1 {
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  margin: 30px 0 24px;
}
h1 span { color: var(--muted); font-weight: 700; margin-left: .02em; }
.intro { font-size: 1.05rem; font-weight: 400; margin-bottom: 10px; }
.english { color: var(--muted); font-size: .9rem; margin: 0; }
.apps { border-top: 1px solid var(--line); padding: 58px 0 90px; }
.apps-heading { margin-bottom: 34px; }
.apps-heading p { margin: 0 0 12px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; margin: 0; }
.icon-grid { display: grid; gap: 28px 18px; grid-template-columns: repeat(6, 1fr); }
.app-icon { margin: 0; text-align: center; }
.app-icon a { display: block; }
.app-icon a:hover { opacity: .72; }
.app-icon img {
  aspect-ratio: 1;
  border-radius: 22%;
  display: block;
  object-fit: cover;
  width: 100%;
}
.mystery-icon {
  align-items: center;
  aspect-ratio: 1;
  background: #ecece8;
  border: 1px solid var(--line);
  border-radius: 22%;
  color: var(--muted);
  display: flex;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  justify-content: center;
  line-height: 1;
}
.app-icon figcaption { color: var(--muted); font-size: .68rem; margin-top: 9px; }
.app-descriptions {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 64px;
}
.app-description {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 18px 16px 18px 0;
}
.app-description:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  padding-right: 0;
}
.app-description-icon-link {
  display: block;
  flex: 0 0 42px;
  line-height: 0;
}
.app-description-icon-link:hover { opacity: .72; }
.app-description-icon {
  aspect-ratio: 1;
  border-radius: 22%;
  flex: 0 0 42px;
  height: 42px;
  object-fit: cover;
  width: 42px;
}
.app-description-icon--mystery {
  align-items: center;
  background: #ecece8;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 1.6rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
}
.app-description h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 6px;
}
.app-description p {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
  margin: 0;
}
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 28px; }

@media (max-width: 760px) {
  .site-shell { padding: 0 20px; }
  .app-store-toast { width: calc(100vw - 32px); }
  .app-store-toast p { font-size: .74rem; }
  .site-header { padding: 20px 0; }
  .wordmark { font-size: .92rem; }
  .header-actions { gap: 10px; }
  .social-links { gap: 10px; }
  .social-links a,
  .language-toggle { font-size: .68rem; }
  .hero { padding: 70px 0 78px; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.8rem); letter-spacing: -.045em; margin: 30px 0 24px; }
  .intro { font-size: 1.05rem; line-height: 1.55; }
  .apps { padding: 52px 0 72px; }
  .apps-heading { margin-bottom: 32px; }
  .icon-grid { gap: 26px 12px; grid-template-columns: repeat(3, 1fr); }
  .app-icon figcaption { font-size: .64rem; margin-top: 8px; }
  .app-descriptions { grid-template-columns: 1fr; margin-top: 52px; }
  .app-description,
  .app-description:nth-child(even) {
    border-left: 0;
    padding: 16px 0;
  }
  .app-description-icon {
    height: 38px;
    width: 38px;
  }
  .app-description-icon-link { flex-basis: 38px; }
}
