:root {
  --ink: #17352f;
  --muted: #64766f;
  --teal: #0b8f7f;
  --teal-dark: #06665b;
  --gold: #c47a2c;
  --gold-dark: #8d531c;
  --paper: #fbfcf8;
  --mint: #eaf6f1;
  --cream: #fff6e6;
  --line: #dbe7df;
  --white: #ffffff;
  --shadow: 0 22px 56px rgba(23, 53, 47, 0.13);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #e9f6f1 0, var(--paper) 25%, #fff 100%);
  font-family: Inter, "Noto Sans Thai", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-dark); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, li, a { overflow-wrap: anywhere; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; background: #fff; }
.skip-link:focus { left: 8px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 231, 223, .92);
  background: rgba(251, 252, 248, .94);
  backdrop-filter: blur(16px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 900; }
.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--teal), #13aa96);
  box-shadow: 0 9px 24px rgba(11, 143, 127, .24);
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 3px solid #fff;
  border-radius: 5px;
  transform: rotate(45deg);
}
.brand-name { display: block; font-size: 21px; line-height: 1.08; }
.brand-name span { color: var(--gold); }
.brand-sub { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 20px; color: #395149; font-size: 14px; font-weight: 850; }
.language-switch { flex: 0 0 auto; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); font-weight: 900; white-space: nowrap; }
.hero { padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr); gap: 54px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--gold-dark); font-size: 13px; font-weight: 900; }
h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(42px, 6vw, 74px); line-height: 1.05; letter-spacing: -.045em; }
h1 .accent { display: block; color: var(--gold); }
.lede { max-width: 700px; margin-bottom: 26px; color: #3f574f; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 900; box-shadow: 0 12px 26px rgba(11, 143, 127, .2); }
.button:hover { color: #fff; background: var(--teal-dark); }
.button.secondary { border: 1px solid var(--teal); background: transparent; color: var(--teal-dark); box-shadow: none; }
.button.secondary:hover { background: var(--mint); color: var(--teal-dark); }
.launch-note { margin-top: 24px; padding: 16px 18px; border: 1px solid #ead7bd; border-radius: 18px; background: rgba(255, 246, 230, .82); color: #704820; }
.launch-note strong { color: var(--gold-dark); }
.trust { margin-top: 17px; color: var(--muted); font-size: 14px; }
.hero-art { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow); }
.hero-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 18px; object-fit: cover; }
.hero-art figcaption { padding: 12px 6px 2px; color: var(--muted); font-size: 13px; }
section { padding: 74px 0; }
.band { background: var(--mint); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.section-head h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 50px); line-height: 1.12; letter-spacing: -.03em; }
.section-head p { color: var(--muted); font-size: 18px; }
.steps, .cards, .preview-grid, .split, .boundary-grid { display: grid; gap: 18px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.step, .card, .boundary-card { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .86); box-shadow: 0 10px 28px rgba(23, 53, 47, .06); }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 950; }
.step h3, .card h3, .boundary-card h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.28; }
.step p, .card p, .boundary-card p { margin-bottom: 0; color: var(--muted); }
.cards { grid-template-columns: repeat(3, 1fr); }
.card-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 14px; background: var(--cream); color: var(--gold-dark); font-weight: 950; }
.preview-grid { grid-template-columns: repeat(2, 1fr); }
.preview-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(23, 53, 47, .07); }
.preview-frame { display: grid; place-items: center; aspect-ratio: 16 / 9; padding: 28px; background: linear-gradient(135deg, #dff3ed, #fff7e8); }
.preview-workflow { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; }
.preview-chip { display: grid; place-items: center; min-height: 72px; padding: 12px; border: 1px solid rgba(11, 143, 127, .18); border-radius: 16px; background: rgba(255, 255, 255, .86); color: var(--teal-dark); font-size: 14px; font-weight: 900; text-align: center; box-shadow: 0 10px 20px rgba(23, 53, 47, .08); }
.preview-arrow { color: var(--gold); font-size: 22px; font-weight: 950; }
.preview-copy { padding: 18px; }
.preview-copy h3 { margin-bottom: 5px; font-size: 19px; }
.preview-copy p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.callout { padding: 30px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.callout.teal { background: linear-gradient(135deg, #087d70, #0b8f7f); color: #fff; }
.callout.cream { background: var(--cream); }
.callout h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 43px); line-height: 1.15; }
.callout p, .callout li { color: inherit; opacity: .88; }
.callout ul { margin: 16px 0 0; padding-left: 22px; }
.boundary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.privacy-band { background: #173c35; color: #fff; }
.privacy-band p { color: rgba(255, 255, 255, .8); }
.privacy-band a { color: #b9f0df; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 14px; }
.draft-status { padding: 24px 0; border-block: 1px solid #ead7bd; background: #fff8eb; color: #69441f; text-align: center; }
.draft-status strong { color: var(--gold-dark); }
footer { padding: 40px 0; border-top: 1px solid var(--line); background: #f0f5f1; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { font-weight: 800; }

.policy-main { padding: 54px 0 78px; }
.policy { max-width: 820px; margin-inline: auto; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.policy h1 { margin-bottom: 8px; font-size: clamp(34px, 5vw, 50px); }
.policy h2 { margin: 34px 0 10px; font-size: 23px; line-height: 1.3; }
.policy p, .policy li { color: #4b6159; }
.policy .updated { color: var(--muted); font-size: 14px; }
.policy .callout-note { margin-top: 24px; padding: 18px; border-left: 4px solid var(--gold); border-radius: 12px; background: var(--cream); color: #69441f; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 680px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav-inner { min-height: 66px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 18px; }
  .hero { padding: 46px 0 34px; }
  h1 { font-size: clamp(38px, 12vw, 56px); }
  .lede { font-size: 17px; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; text-align: center; }
  section { padding: 54px 0; }
  .steps, .cards, .preview-grid, .boundary-grid { grid-template-columns: 1fr; }
  .preview-frame { padding: 16px; }
  .preview-chip { min-height: 62px; padding: 8px; font-size: 12px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
