
:root {
  --cream: #fff8f0;
  --cream-2: #fdf1e6;
  --ink: #2f2438;       
  --ink-2: #5c4f6b;     
  --grape: #6b3fa0;     
  --grape-deep: #4a2a70;
  --gold: #c08b1c;
  --line: rgba(70, 40, 110, 0.14);
  --panel: #ffffff;
  --shadow: 0 18px 44px rgba(70, 40, 110, 0.13);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .brand span {
  font-family: var(--display);
  font-weight: var(--dw);
  text-wrap: balance;
}

html[lang="ko"] body { word-break: keep-all; }
html[lang="ja"] body, html[lang^="zh"] body { line-break: strict; }
html[lang="ja"] h1, html[lang="ja"] h2 { word-break: auto-phrase; }
html[lang="th"] body, html[lang="vi"] body { line-height: 1.85; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="vi"] h1, html[lang="vi"] h2 { line-height: 1.4; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--grape); }

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

.top {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; font-size: 19px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.langpick { margin-left: auto; position: relative; font-size: 14px; flex: none; }
.langpick summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--ink-2);
  border: 1px solid var(--line);
  line-height: 1.3;
}
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary span { max-width: 14em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.langpick[open] summary { border-color: var(--grape); color: var(--grape); }
.langpick ul {
  position: absolute; right: 0; top: calc(100% + 8px);
  margin: 0; padding: 6px; list-style: none;
  min-width: 220px; max-height: 70vh; overflow: auto;
  background: #fff; border-radius: 14px;
  box-shadow: 0 12px 34px rgba(47, 36, 56, 0.2);
}
.langpick li a, .langpick li span {
  display: block; padding: 7px 12px; border-radius: 10px;
  color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1.5;
}
.langpick li a:hover, .langpick li a:focus-visible { background: #f6efff; }
.langpick [aria-current] { font-weight: 700; background: #efe4ff; color: var(--grape-deep); }

.stores { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 30px 0 64px; }
.stores img { height: 48px; width: auto; }

.hero {
  background:
    radial-gradient(circle, transparent 5px, rgba(87, 41, 154, 0.06) 5px, rgba(87, 41, 154, 0.06) 8px, transparent 8px) 6px 10px / 34px 34px,
    radial-gradient(120% 130% at 14% 8%, #fffdf8 0%, #fbf0ff 48%, #ece0ff 100%);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: end; }
.hero h1 {
  font-size: 46px; line-height: 1.18; letter-spacing: -0.3px;
  color: var(--grape-deep);
}
.hero p { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 34em; }
.hero .shot { margin-bottom: -1px; }
.hero .shot img { border-radius: 22px 22px 0 0; box-shadow: var(--shadow); }

.themes { padding: 76px 0; border-bottom: 1px solid var(--line); text-align: center; }
.themes h2 { font-size: 30px; line-height: 1.28; color: var(--grape-deep); }
.themes p { margin: 12px auto 0; max-width: 40em; color: var(--ink-2); }
.themes ul { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.themes li {
  background: var(--panel); border-radius: 26px; padding: 26px 20px 24px;
  box-shadow: var(--shadow); color: var(--ink); font-weight: 700; line-height: 1.5;
}
.themes li img { width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 28px; }

.feat { padding: 76px 0; border-bottom: 1px solid var(--line); }
.feat:nth-child(odd) { background: var(--cream-2); }
.feat .wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.feat:nth-child(odd) .wrap { grid-template-columns: 1fr 300px; }
.feat:nth-child(odd) .shot { order: 2; }
.feat img { border-radius: 20px; box-shadow: var(--shadow); }
.feat h2 { font-size: 30px; line-height: 1.28; color: var(--grape-deep); }
.feat p { margin-top: 14px; color: var(--ink-2); }

.close { padding: 80px 0; text-align: center; }
.close .app-icon { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 24px; box-shadow: var(--shadow); }
.close h2 { font-size: 32px; color: var(--grape-deep); }
.close p { margin: 12px auto 0; max-width: 40em; color: var(--ink-2); }
.close .stores { justify-content: center; margin-bottom: 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 56px; font-size: 14px; color: var(--ink-2);
}
footer .row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .sp { margin-left: auto; }
.foot-langs { margin-top: 16px; font-size: 13px; line-height: 2; }
.foot-langs a { color: var(--ink-2); }
.foot-langs [aria-current] { font-weight: 700; color: var(--ink); }


@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap,
  .feat .wrap,
  .feat:nth-child(odd) .wrap { grid-template-columns: 1fr; gap: 28px; }
  .feat:nth-child(odd) .shot { order: 0; }
  .hero h1 { font-size: 34px; }
  .feat h2, .themes h2, .close h2 { font-size: 25px; }
  .themes ul { gap: 14px; }
  .themes li { padding: 18px 10px; font-size: 15px; }
  .themes li img { width: 96px; height: 96px; border-radius: 22px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }

  .top .wrap { height: 54px; gap: 10px; }
  .brand { font-size: 17px; }
  .langpick summary span { max-width: 7.5em; }

  .hero { padding: 34px 0 0; }
  .hero .wrap { gap: 22px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 17px; margin-top: 14px; }
  .stores { margin: 22px 0 34px; gap: 12px; }
  .stores img { height: 44px; }

  .hero .shot { max-width: 240px; margin: 0 auto 34px; }
  .hero .shot img { border-radius: 18px; }

  .themes { padding: 48px 0; }
  .themes ul { grid-template-columns: 1fr; }
  .themes li { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 16px; border-radius: 20px; }
  .themes li img { width: 64px; height: 64px; margin: 0; border-radius: 16px; flex: none; }

  .feat { padding: 44px 0; }
  .feat .wrap { gap: 20px; }
  .feat .shot { max-width: 200px; margin: 0 auto; }
  .feat img { border-radius: 16px; }
  .feat h2, .themes h2 { font-size: 22px; }
  .feat p, .themes p { font-size: 15.5px; }

  .close { padding: 52px 0; }
  .close h2 { font-size: 24px; }
  .close p { font-size: 15.5px; }

  footer { padding: 26px 0 40px; }
  footer .row { gap: 12px; }
  footer .sp { margin-left: 0; }
}
