:root {
  color-scheme: light;
  --ink: #14211d;
  --muted: #5e6b66;
  --line: #dfe7e2;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --green: #0f7a4f;
  --green-dark: #0b4f36;
  --blue: #1f6feb;
  --amber: #a85d00;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans Thai", "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.72;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.navlinks a {
  color: var(--muted);
  text-decoration: none;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.section {
  padding: 46px 0;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.card p,
.answer p {
  margin: 0;
  color: var(--muted);
}

.answer {
  border-left: 5px solid var(--green);
  background: #eef8f1;
  padding: 22px 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 15px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f6f3;
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

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

.checklist li {
  margin: 8px 0;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

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

  .hero {
    padding-top: 46px;
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
}
