:root {
  --ink: #14231f;
  --muted: #56645f;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --line: #d8ded8;
  --accent: #165f52;
  --accent-soft: #dcece7;
  --warning: #805c13;
  --warning-bg: #fff4cf;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Thai", sans-serif;
  line-height: 1.7;
}

a { color: var(--accent); text-underline-offset: 3px; }

.review-banner {
  padding: 9px 20px;
  background: var(--warning-bg);
  color: var(--warning);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-header {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
}

nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }

main {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero { padding: 100px 0 80px; max-width: 850px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1, h2 { margin-top: 0; line-height: 1.2; letter-spacing: -0.025em; }
h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 7vw, 5.9rem); font-weight: 760; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.5rem); }

.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.34rem); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}

.button:hover { background: #104c42; }
.text-link { font-weight: 720; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 8px 13px;
  border: 1px solid #b8d3ca;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  padding: 60px;
  border-radius: 24px;
  background: var(--ink);
  color: white;
}

.panel .eyebrow { color: #9ed3c3; }
.panel .copy { color: #d8e1dd; font-size: 1.03rem; }
.panel .copy p:first-child { margin-top: 0; }

.approach { padding: 90px 0 28px; }
.approach > h2 { max-width: 650px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.cards article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.6); }
.cards h3 { margin: 0 0 10px; font-size: 1.1rem; }
.cards p { margin: 0; color: var(--muted); }

.status-note {
  margin: 70px 0 90px;
  padding: 34px 38px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}
.status-note h2 { margin-bottom: 8px; font-size: 1.55rem; }
.status-note p:last-child { margin: 0; color: var(--muted); }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 90px;
  padding: 48px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}
.contact h2 { margin-bottom: 12px; }
.contact p:not(.eyebrow) { max-width: 610px; margin-bottom: 0; color: #d8e1dd; }
.contact .eyebrow { color: #9ed3c3; }
.button-light { flex: 0 0 auto; background: #fff; color: var(--ink); }
.button-light:hover { background: var(--accent-soft); }

.document { max-width: 820px; padding: 76px 0 90px; }
.document h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.document section { padding-top: 30px; }
.document section + section { margin-top: 16px; border-top: 1px solid var(--line); }
.document h2 { font-size: 1.35rem; }
.document p, .document li { color: #394842; }
.lede-note, .notice, .decision {
  padding: 22px 24px;
  border: 1px solid #bfd2cb;
  border-radius: 14px;
  background: var(--surface);
}
.decision { border-color: #e0c98b; background: var(--warning-bg); }

.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 28px 0 28px 70px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 26px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}
.steps h2 { margin-bottom: 6px; }
.steps p { margin: 0; }

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0 44px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}
footer p { margin: 0; }
footer div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-company { flex-direction: column; gap: 2px; }
.footer-company strong { color: var(--ink); }

@media (max-width: 720px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  .hero { padding: 68px 0 58px; }
  .panel { grid-template-columns: 1fr; gap: 12px; padding: 32px 26px; }
  .cards { grid-template-columns: 1fr; }
  .contact { align-items: flex-start; flex-direction: column; padding: 32px 26px; }
  .document { padding-top: 54px; }
}
