:root {
  --ink: #14161a;
  --muted: #5b616b;
  --line: #e4e6ea;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --accent: #1f5eff;
  --accent-ink: #ffffff;
  --radius: 14px;
  --max: 1040px;
  font-family: "Inter", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo { font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
nav.site { display: flex; gap: 20px; align-items: center; font-size: 0.95rem; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }

.hero { padding: 88px 0 64px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 16ch; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 52ch; margin: 0 0 32px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
}
.btn.secondary { background: var(--soft); color: var(--ink); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.75rem; letter-spacing: -0.02em; margin: 0 0 24px; }
section p.intro { color: var(--muted); max-width: 60ch; margin-top: -8px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { background: var(--soft); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p, .card ul { margin: 0; color: var(--muted); }
.card ul { padding-left: 20px; }

.flow { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; background: var(--soft); border-radius: var(--radius); padding: 20px; overflow-x: auto; white-space: pre; }

.fee { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.fee .big { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.badge { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e6f4ea; color: #146c2e; margin-bottom: 12px; }

.cta { text-align: center; padding: 72px 0; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 52ch; }

footer.site { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--muted); }
