:root {
  --bg: #fff8f4;
  --card: rgba(255, 255, 255, 0.76);
  --card-soft: rgba(255, 251, 248, 0.9);
  --card-border: rgba(58, 39, 72, 0.12);
  --text: #24182f;
  --text-soft: #6b5e71;
  --brand: #ff4f9b;
  --brand-2: #66d9c8;
  --brand-3: #f6dc7f;
  --max: 1040px;
  --shadow: 0 24px 60px rgba(57, 31, 60, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)) 0 0 / 100% 160px no-repeat,
    radial-gradient(circle at 12% 14%, rgba(255, 171, 205, 0.48), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(253, 236, 165, 0.56), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(119, 227, 212, 0.32), transparent 22%),
    linear-gradient(180deg, #fff7f3 0%, #fff2eb 44%, #fff8f5 100%);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 249, 246, 0.74);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(255, 79, 155, 0.24);
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a.active {
  color: #7f1d4e;
  border-color: rgba(255, 79, 155, 0.22);
  background: rgba(255, 79, 155, 0.08);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(58, 39, 72, 0.14);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.64);
}

.lang-switch a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 12px;
  padding: 6px 10px;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.lang-switch a:last-child {
  border-right: 0;
}

.lang-switch a.active {
  color: #7f1d4e;
  background: rgba(255, 79, 155, 0.08);
}

.hero {
  padding: 42px 0 24px;
}

.hero-card {
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 179, 215, 0.26), transparent 26%),
    radial-gradient(circle at 100% 12%, rgba(246, 220, 127, 0.22), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 247, 0.82));
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.eyebrow {
  color: #8f7d93;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

h1 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.hero-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
}

.meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(58, 39, 72, 0.12);
  color: #4b3d5c;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 13px;
  padding: 6px 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  overflow-wrap: anywhere;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
  padding-bottom: 48px;
}

.content {
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 220, 127, 0.16), transparent 22%),
    linear-gradient(180deg, var(--card-soft), var(--card));
  box-shadow: var(--shadow);
  padding: 24px 22px 28px;
  min-width: 0;
}

.summary {
  border-left: 4px solid var(--brand);
  background: rgba(255, 244, 250, 0.84);
  border-radius: 16px;
  padding: 14px 14px 12px 14px;
  margin-bottom: 20px;
}

.summary h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.summary ul {
  margin: 0;
  padding-left: 20px;
}

.summary li {
  margin: 6px 0;
}

h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

section {
  padding: 10px 0 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

section h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

p {
  margin: 0 0 10px;
  color: #4b3d5c;
}

ul {
  margin: 0 0 10px;
  padding-left: 21px;
}

li {
  margin: 5px 0;
  color: #4b3d5c;
}

.aside {
  position: sticky;
  top: 86px;
}

.toc {
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: rgba(255, 252, 249, 0.88);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
}

.toc h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #3f3051;
}

.toc a {
  display: block;
  text-decoration: none;
  color: var(--text-soft);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 14px;
}

.toc a:hover {
  color: #7f1d4e;
  background: rgba(255, 79, 155, 0.08);
}

.toc-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.toc-label {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.contact-box {
  margin-top: 12px;
  border: 1px solid rgba(102, 217, 200, 0.32);
  border-radius: 14px;
  background: rgba(232, 255, 251, 0.84);
  padding: 10px;
  font-size: 13px;
  color: #155d54;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.card-link {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px 16px;
}

.card-link h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.card-link p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.card-link:hover {
  border-color: rgba(255, 79, 155, 0.24);
  background: rgba(255, 247, 252, 0.88);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.doc-card {
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  padding: 18px 16px;
}

.doc-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.doc-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.doc-card a {
  text-decoration: none;
}

.status-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.status-card,
.info-card {
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px 15px;
}

.status-card strong,
.info-card strong {
  display: block;
  margin-bottom: 8px;
  color: #24182f;
  font-size: 16px;
}

.status-card p,
.info-card p {
  margin: 0;
  color: var(--text-soft);
}

.eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-decoration: none;
  color: #d3367a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-note {
  margin-top: 12px;
  border: 1px solid rgba(102, 217, 200, 0.26);
  border-radius: 18px;
  background: rgba(232, 255, 251, 0.82);
  padding: 13px 14px;
}

.section-note p:last-child,
.doc-card p:last-child,
.status-card p:last-child,
.info-card p:last-child {
  margin-bottom: 0;
}

.link-list,
.step-list {
  margin: 0;
  padding-left: 20px;
}

.link-list li,
.step-list li {
  margin: 8px 0;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.inline-links a {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 79, 155, 0.18);
  background: rgba(255, 79, 155, 0.08);
  padding: 8px 12px;
  color: #91325f;
  font-size: 13px;
}

.inline-links a:hover {
  border-color: rgba(255, 79, 155, 0.3);
}

.support-box {
  margin-top: 16px;
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
}

.support-box h3 {
  margin: 0 0 8px;
}

.support-box p:last-child {
  margin-bottom: 0;
}

.url-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.url-item {
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 13px 14px;
}

.url-item strong {
  display: block;
  margin-bottom: 6px;
}

.url-item a {
  color: #d3367a;
  text-decoration: none;
  word-break: break-all;
}

.url-item a:hover {
  text-decoration: underline;
}

.foot {
  border-top: 1px solid rgba(58, 39, 72, 0.12);
  color: var(--text-soft);
  font-size: 13px;
  padding: 22px 0 28px;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px 0;
    min-height: auto;
  }

  .brand {
    justify-content: flex-start;
  }

  .nav-wrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lang-switch {
    width: fit-content;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    gap: 8px;
  }

  .nav a {
    font-size: 13px;
    padding: 7px 10px;
    text-align: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .doc-grid,
  .status-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 20px 16px 22px;
  }
}

/* Landing (index.html) */
.landing-main {
  padding: 34px 0 42px;
  display: grid;
  gap: 18px;
}

.landing-hero {
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(700px 260px at 15% -20%, rgba(255, 179, 215, 0.32), transparent 65%),
    radial-gradient(540px 240px at 100% 0%, rgba(246, 220, 127, 0.22), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 251, 0.84));
  box-shadow: var(--shadow);
  padding: 28px 24px;
  animation: landing-fade-up 0.5s ease;
  min-width: 0;
}

.landing-kicker {
  margin: 0;
  color: #8f7d93;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.landing-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.18;
  max-width: 22ch;
}

.landing-intro {
  margin: 0;
  color: var(--text-soft);
  max-width: 70ch;
  overflow-wrap: anywhere;
}

.landing-share-link {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.landing-share-link a {
  color: #d3367a;
  text-decoration: none;
  border-bottom: 1px dotted rgba(211, 54, 122, 0.4);
}

.landing-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-section {
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(246, 220, 127, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 251, 248, 0.82));
  box-shadow: var(--shadow);
  padding: 22px 20px;
  animation: landing-fade-up 0.65s ease both;
}

.landing-section:nth-of-type(2) {
  animation-delay: 0.04s;
}

.landing-section:nth-of-type(3) {
  animation-delay: 0.08s;
}

.landing-section:nth-of-type(4) {
  animation-delay: 0.12s;
}

.landing-section:nth-of-type(5) {
  animation-delay: 0.16s;
}

.landing-section-head h2 {
  margin: 0;
  font-size: clamp(21px, 3vw, 30px);
}

.landing-section-head p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.cta-store {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid rgba(255, 79, 155, 0.26);
  border-radius: 20px;
  background: rgba(255, 79, 155, 0.08);
  padding: 14px 16px;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cta-store:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 79, 155, 0.38);
  background: rgba(255, 79, 155, 0.12);
}

.cta-label {
  font-size: 18px;
  font-weight: 700;
  color: #7f1d4e;
}

.cta-url {
  color: #a63a6f;
  font-size: 13px;
}

.shot-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shot-card {
  margin: 0;
  border: 1px solid rgba(58, 39, 72, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 10px;
}

.shot-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  aspect-ratio: 1242 / 2208;
  object-fit: contain;
  background: #f6f2ef;
  box-shadow: 0 10px 24px rgba(57, 31, 60, 0.12);
}

.shot-card figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #7c6f84;
  text-align: center;
}

.feedback-grid,
.legal-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feedback-link,
.legal-link {
  display: block;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid rgba(58, 39, 72, 0.12);
  background: rgba(255, 255, 255, 0.78);
  padding: 13px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.feedback-link h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.feedback-link p {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

.feedback-link:hover,
.legal-link:hover {
  border-color: rgba(255, 79, 155, 0.28);
  background: rgba(255, 247, 252, 0.88);
}

.legal-link {
  color: #4b3d5c;
  font-size: 14px;
}

.contact-mail {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: none;
  border: 1px solid rgba(102, 217, 200, 0.3);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(232, 255, 251, 0.84);
  color: #155d54;
  font-weight: 600;
}

.contact-mail:hover {
  background: rgba(214, 251, 244, 0.92);
}

@keyframes landing-fade-up {
  from {
    opacity: 0.92;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-main {
    padding-top: 20px;
  }

  .landing-hero,
  .landing-section {
    border-radius: 18px;
    padding: 18px 16px;
  }

  .landing-hero h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.14;
    max-width: 10ch;
    word-break: keep-all;
  }

  .landing-intro {
    font-size: 15px;
  }

  .landing-chips {
    display: grid;
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .feedback-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .cta-label {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero,
  .landing-section {
    animation: none;
  }
}
