@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

:root {
  --primary: #7C5CFF;
  --primary-dark: #5F4BDB;
  --background: #F7F8FA;
  --surface: #FFFFFF;
  --text: #25262B;
  --muted: #888A91;
  --border: #EAEAEA;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html {
  background: var(--background);
  color: var(--text);
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}

body { margin: 0; min-width: 320px; background: var(--background); }
a { color: var(--primary-dark); text-underline-offset: 4px; }

.page {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.home-page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .82rem;
}

.language-switcher a {
  display: inline-block;
  padding: 8px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  color: var(--primary-dark);
}

html[lang="ja"],
html[lang="zh-TW"] {
  word-break: normal;
  overflow-wrap: anywhere;
}

.hero { padding-top: 32px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.hero h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(3rem, 12vw, 5rem);
  line-height: 1.1;
  letter-spacing: -.05em;
}

.tagline { margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }

.philosophy { margin: 72px auto 0; }
.philosophy h2 { margin: 0 0 34px; font-size: clamp(1.4rem, 5vw, 1.85rem); letter-spacing: -.03em; }
.philosophy p { margin: 0; color: #74767D; font-size: 1.05rem; }

.brand-words {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 70px;
  color: var(--primary);
  font-size: clamp(2.2rem, 9vw, 3.3rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.growth-line { margin: 24px 0 0; color: #A0A2A8; font-size: .95rem; }

.site-footer {
  margin-top: 88px;
  padding-top: 28px;
  color: var(--muted);
  text-align: center;
}

.studio { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .2em; }

.site-footer nav a,
.document-footer a {
  display: inline-block;
  padding: 10px 12px;
  font-weight: 600;
  text-decoration: none;
}

.document-page { padding-top: 40px; }
.document-header { margin-bottom: 46px; }

.back-link {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.document-header h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.25;
  letter-spacing: -.04em;
}

.updated { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }

.document {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.document section + section {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}

.document h2 { margin: 0 0 18px; font-size: 1.24rem; letter-spacing: -.025em; }
.document p { margin: 0 0 14px; color: #595B62; }
.document ul { margin: 14px 0 18px; padding-left: 22px; color: #595B62; }
.document li + li { margin-top: 4px; }

.promise { padding: 24px; border-radius: 18px; background: #F3F0FF; }
.promise h2, .promise strong { color: var(--primary-dark); }

.document-footer { margin-top: 42px; }

@media (max-width: 520px) {
  .page { padding-right: 20px; padding-left: 20px; }
  .hero { padding-top: 8px; }
  .philosophy { margin-top: 58px; }
  .philosophy p { font-size: 1rem; }
  .brand-words { margin-top: 56px; }
  .site-footer { margin-top: 72px; }
  .document { padding: 26px 22px; border-radius: 20px; }
  .promise { padding: 20px; }
  .language-switcher { justify-content: center; margin-bottom: 16px; }
}


.support-email {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-dark);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

.support-button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.18);
}

.support-button:hover {
  background: var(--primary-dark);
  opacity: 1;
}

.notice {
    background: #f4efff;
    border-left: 4px solid #7C5CFF;
    border-radius: 12px;
    padding: 16px;
    margin: 24px 0;
    line-height: 1.7;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

.card h2 {
    margin-top: 0;
    color: #7C5CFF;
    font-size: 20px;
}

.card p {
    line-height: 1.8;
}

.footer-nav {
    margin-top: 40px;
    text-align: center;
}

.footer-nav a {
    color: #7C5CFF;
    text-decoration: none;
    font-weight: 600;
}

.footer-nav span {
    margin: 0 10px;
    color: #bbb;
}
