:root {
  --bg: #161616;
  --fg: #f2f2f2;
  --fg-muted: #b3b3b3;
  --fg-dim: #8a8a8a;
  --border: #2a2a2a;
  --pad: clamp(20px, 5vw, 48px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Pretendard", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
}

/* ---- index.html ---- */

.cover {
  height: 220px;
  background: linear-gradient(180deg, #cfe0ec 0%, #9fb8cc 45%, #5f7c92 100%);
  background-image: url("../assets/cover.jpg");
  background-size: cover;
  background-position: center;
}

.header {
  padding: 0 var(--pad);
  position: relative;
}

.icon {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  margin-top: -48px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 800;
  margin: 20px 0 40px;
}

.intro {
  padding: 0 var(--pad) 8px;
  max-width: 760px;
  color: #c2c2c2;
  font-size: 14px;
  line-height: 1.7;
}

.apps {
  padding: 0 var(--pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 900px;
}

.app-row {
  display: grid;
  grid-template-columns: 130px 1fr 140px;
  gap: 24px;
  align-items: center;
}

.app-icon {
  width: 130px;
  height: 130px;
  border-radius: 24px;
  overflow: hidden;
}

.app-icon.star { background: linear-gradient(135deg, #7b3ff2, #b565f0); }
.app-icon.run { background: linear-gradient(135deg, #4b3fd9, #7a5ff2); }
.app-icon.helper { background: linear-gradient(135deg, #a13fd9, #d966d9); }

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.app-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 320px;
}

.app-status {
  font-size: 13px;
  color: #d9d9d9;
}

.app-status a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 217, 217, 0.4);
}

.section-title {
  padding: 0 var(--pad);
  font-size: 20px;
  font-weight: 700;
  margin: 56px 0 20px;
  color: #fff;
}

.data-block {
  padding: 0 var(--pad) 60px;
  max-width: 760px;
}

.data-app {
  margin-bottom: 28px;
}

.data-app-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.data-app-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.site-footer {
  padding: 24px var(--pad) 60px;
  border-top: 1px solid var(--border);
}

.site-footer a {
  color: #9a9a9a;
  font-size: 13px;
  text-decoration: none;
}

@media (max-width: 640px) {
  .app-row {
    grid-template-columns: 72px 1fr;
    row-gap: 12px;
  }

  .app-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .app-status {
    grid-column: 2;
  }
}

/* ---- privacy.html ---- */

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px var(--pad) 100px;
  line-height: 1.7;
}

a.back {
  color: #9a9a9a;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 32px;
}

.wrap h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.updated {
  color: var(--fg-dim);
  font-size: 13px;
  margin-bottom: 40px;
}

.wrap h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #fff;
}

.wrap p, .wrap li {
  color: #c2c2c2;
  font-size: 14px;
}

.wrap ul {
  padding-left: 20px;
}

.contact {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: #c2c2c2;
  font-size: 14px;
}

.detail-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  margin-bottom: 24px;
}

.detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
