@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap");

:root {
  --bg: #fdfaf4;
  --bg-soft: #fff4dd;
  --ink: #1f1f1f;
  --ink-soft: #535353;
  --line: #e7d8b8;
  --accent: #f26430;
  --accent-soft: #ffe5dc;
  --card: #fffef9;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 12px 28px rgba(42, 28, 14, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 15% -10%, #ffe8c3 0%, transparent 60%),
    radial-gradient(900px 400px at 95% 0%, #ffd5c7 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #fffef9 100%);
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.brand-sub {
  color: var(--ink-soft);
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fffdf8 0%, var(--bg-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.1;
}

.hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 680px;
}

.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 16px;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: card-enter 420ms ease both;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(42, 28, 14, 0.12);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

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

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tag {
  font-size: 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 9px;
}

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn {
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.btn.primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

.support-form {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

.form-status[data-state="loading"] {
  color: var(--ink-soft);
}

.form-status[data-state="success"] {
  color: #1f7a3f;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.section {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 18px;
  margin-bottom: 12px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

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

.section ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.section li {
  margin-bottom: 6px;
}

.kv {
  display: grid;
  gap: 8px;
}

.kv div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kv strong {
  min-width: 124px;
}

.footer {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .site-wrap {
    padding: 16px;
  }

  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 28px;
  }
}
