/* ============================================================
   DWAPPS — minimal, flat. Pretendard body + Space Grotesk title. No animations, no hover FX.
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --ink: #18181b;
  --ink-soft: #52525b;
  --ink-muted: #8a8a94;
  --accent: #ff5b3a;
  --kofi-dark: #1a1a1a;

  --radius: 14px;
  --action-w: 220px;

  --font-body: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-display: "Space Grotesk", "Pretendard", system-ui, sans-serif;

  --maxw: 640px;
}

/* ---- Reset ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

/* ---- Header ------------------------------------------------ */
.site-header {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 88px) 20px 8px;
  text-align: center;
}
.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 67px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.intro {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.intro p {
  margin: 0;
}
.intro p + p {
  margin-top: 12px;
}

/* ---- Action buttons (Ko-fi / Feedback / Contact) ----------- */
.actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Feedback button — styled to match the Ko-fi button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: var(--action-w);
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.btn .btn-icon {
  display: inline-flex;
  color: var(--ink-soft);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Force the injected Ko-fi button to the same footprint + font */
.kofi-slot {
  width: var(--action-w);
  line-height: 0;
}
.kofi-slot a {
  width: var(--action-w) !important;
  height: 40px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
.kofi-slot img {
  height: 19px !important;
  width: auto !important;
  margin: 0 7px 0 0 !important;
  border: 0 !important;
  vertical-align: middle;
}

.contact {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.contact a {
  color: var(--ink);
}

/* ---- Content ----------------------------------------------- */
.content {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 48px) 20px 56px;
}

/* ---- Project list (logo + title + URL, large) -------------- */
.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.project-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Icons: no background, no border */
.project-logo {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-body {
  flex: 1 1 auto;
  min-width: 0;
}
.project-name {
  display: block;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.project-url {
  display: block;
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 15px;
}

.project-arrow {
  flex: 0 0 auto;
  color: var(--ink-muted);
}

/* ---- Footer ------------------------------------------------ */
.site-footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 56px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

/* ---- Responsive -------------------------------------------- */
@media (max-width: 480px) {
  .project-link {
    gap: 16px;
    padding: 16px 18px;
  }
  .project-logo {
    width: 54px;
    height: 54px;
  }
  .project-name {
    font-size: 20px;
  }
  .project-url {
    font-size: 14px;
  }
  .project-arrow {
    display: none;
  }
}
