@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #0c0c0c;
  --card: #1d1d1d;
  --border: #ffffff1f;
  --text: #f3f3f3;
  --muted: #b7b7b7;
  --green: #a5de15;
  --green-dim: #76b900;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 3rem 1.25rem 4rem;
  background: radial-gradient(60% 50% at 50% 0%, #14210280 0%, var(--bg) 60%), var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans Thai", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

.wrap {
  max-width: 780px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero img.icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.hero p.tagline {
  color: var(--green);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.hero p.sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.links a:hover {
  border-color: var(--green-dim);
  transform: translateY(-1px);
}

.links a.primary {
  background: var(--green);
  border-color: var(--green);
  color: #0c0c0c;
  font-weight: 600;
}

.links a.primary:hover {
  background: #b8f227;
}

.section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (max-width: 680px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.card .emoji {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.principles {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.principles h2 {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.principles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}

@media (max-width: 680px) {
  .principles ul {
    grid-template-columns: 1fr;
  }
}

.principles li {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
}

.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.principles li b {
  color: var(--text);
  font-weight: 600;
}

.footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}
