/* โนพนัน: ลายรดน้ำ look. Gold leaf on indigo lacquer, cream paper sections,
   Chonburi for headings, Sarabun for text. Fonts are self-hosted (no requests
   to anyone else). */
@font-face {
  font-family: "Sarabun";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/sarabun-thai-400-normal.woff2) format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Sarabun";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/sarabun-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199;
}
@font-face {
  font-family: "Sarabun";
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/sarabun-thai-600-normal.woff2) format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Sarabun";
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/sarabun-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199;
}
@font-face {
  font-family: "Sarabun";
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/sarabun-thai-700-normal.woff2) format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Sarabun";
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/sarabun-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199;
}
@font-face {
  font-family: "Chonburi";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/chonburi-thai-400-normal.woff2) format("woff2");
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Chonburi";
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/chonburi-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2199;
}

:root {
  color-scheme: light;
  --lacquer: #0e1b2c;
  --lacquer-2: #16273c;
  --gold: #e8b04b;
  --gold-deep: #a8700f;
  --gold-soft: #f3dfb4;
  --paper: #f7f0e1;
  --paper-2: #efe4cc;
  --ink: #1b1a17;
  --muted: #5f5848;
  --chad: #b8322a; /* แดงชาด */
  --jade: #2f7d5b;
  --line: #e2d3b2;
  --display: "Chonburi", "Sarabun", serif;
  --text: "Sarabun", -apple-system, "Sukhumvit Set", "Thonburi", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.7 var(--text);
  overflow-x: hidden;
}
a {
  color: var(--gold-deep);
}
img {
  max-width: 100%;
}
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- lacquer bands --------------------------------------------------------- */
.lacquer {
  background: url(/img/prajamyam.svg) center top / 48px 48px, radial-gradient(120% 90% at 50% 0%, var(--lacquer-2), var(--lacquer));
  color: #f4ecda;
}
.krajang {
  height: 20px;
  background: url(/img/krajang.svg) center bottom / 28px 20px repeat-x, var(--lacquer);
  border-bottom: 3px solid var(--gold);
}
.krajang.down {
  transform: scaleY(-1);
  border-bottom: 3px solid var(--gold);
}

/* ---- top bar ------------------------------------------------------------------- */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font: 24px/1 var(--display);
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.bar nav a {
  color: #e9dcc0;
  text-decoration: none;
  font-size: 16px;
  margin-left: 16px;
}

/* ---- hero ---------------------------------------------------------------------- */
.hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 28px 0 44px;
}
.tag {
  display: inline-block;
  border: 1px solid rgba(232, 176, 75, 0.55);
  color: var(--gold);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 15px;
}
.hero h1 {
  font: clamp(40px, 11vw, 68px) / 1.25 var(--display);
  color: var(--gold);
  margin: 14px 0 12px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.hero h1 span {
  display: block;
  color: #f7efdc;
  font-size: 0.62em;
}
.hero p.lead {
  font-size: 19px;
  color: #e3d6bb;
  margin: 0 0 22px;
  max-width: 34em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 22px;
  border-radius: 14px;
  font: 700 18px/1.2 var(--text);
  text-decoration: none;
  cursor: pointer;
}
.btn.gold {
  background: linear-gradient(180deg, #f1c46a, var(--gold) 55%, #c98f2a);
  color: var(--lacquer);
  box-shadow: 0 3px 0 #8a5a0c, inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn.ghost {
  border: 1.5px solid rgba(232, 176, 75, 0.7);
  color: var(--gold);
}
.btn.soon {
  background: rgba(232, 176, 75, 0.14);
  color: var(--gold);
  border: 1.5px dashed rgba(232, 176, 75, 0.6);
  cursor: default;
}
.btn.line {
  background: #06c755;
  color: #fff;
}
.seal {
  justify-self: center;
  width: min(260px, 62vw);
  aspect-ratio: 1;
  border-radius: 36px;
  padding: 18px;
  background: radial-gradient(circle, rgba(232, 176, 75, 0.25), transparent 70%);
}
.seal img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 9px rgba(232, 176, 75, 0.18), 0 18px 40px rgba(0, 0, 0, 0.45);
}
@media (min-width: 760px) {
  .hero {
    grid-template-columns: 1.25fr 0.75fr;
    padding: 40px 0 64px;
  }
}

/* ---- sections -------------------------------------------------------------------- */
section {
  padding: 56px 0;
}
section.alt {
  background: var(--paper-2);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}
.kicker::before,
.kicker::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url(/img/prajamyam-mark.svg) center / contain no-repeat;
}
h2 {
  font: clamp(28px, 7vw, 40px) / 1.35 var(--display);
  margin: 0 0 14px;
  color: var(--lacquer);
}
h3 {
  font: 700 21px/1.4 var(--text);
  margin: 0 0 6px;
}
p {
  margin: 0 0 12px;
}
.muted {
  color: var(--muted);
}

/* ---- before / after phones ---------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 640px;
  margin: 24px auto 0;
}
.phone {
  position: relative;
  border-radius: 30px;
  padding: 10px;
  background: #111;
  box-shadow: 0 14px 30px rgba(14, 27, 44, 0.25);
}
.phone .screen {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 17;
  font-size: 11px;
  line-height: 1.35;
}
.phone .label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  border-radius: 999px;
  padding: 3px 14px;
  font: 700 15px/1.4 var(--text);
}
.label.before {
  background: var(--chad);
  color: #fff;
}
.label.after {
  background: var(--gold);
  color: var(--lacquer);
}
.m-head {
  background: #222;
  color: #ddd;
  padding: 18px 8px 6px;
  font-weight: 700;
}
.m-video {
  margin: 6px;
  border-radius: 6px;
  background: #2b2b2b;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
}
.m-line {
  height: 7px;
  border-radius: 4px;
  background: #e6e6e6;
  margin: 7px 8px;
}
.m-line.s {
  width: 60%;
}
.m-ad {
  margin: 6px;
  border-radius: 6px;
  padding: 6px;
  font-weight: 800;
  text-align: center;
  color: #fff;
}
.m-ad.a {
  background: linear-gradient(90deg, #7a0010, #d4001a);
  color: #ffd34d;
  border: 2px dashed #ffd34d;
}
.m-ad.b {
  background: #111;
  color: #21d07a;
  border: 2px solid #21d07a;
}
.m-ad.c {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  margin: 0;
  background: #ffd400;
  color: #000;
}
.m-pop {
  position: absolute;
  inset: 34% 14% auto;
  background: #fff;
  border: 3px solid #d4001a;
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  font-weight: 800;
  color: #d4001a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ---- cards ------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 680px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}
.card {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  position: relative;
}
.card .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lacquer);
  margin-bottom: 10px;
}
.card .ico svg {
  width: 28px;
  height: 28px;
}

/* ---- steps with Thai numerals -------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 30px/1 var(--display);
  color: var(--lacquer);
  background: radial-gradient(circle at 35% 30%, #f6d48a, var(--gold) 60%, #b97f1c);
  box-shadow: 0 0 0 3px #fffaf0, 0 0 0 5px var(--gold);
}

/* ---- honest lists ---------------------------------------------------------------------- */
.tick,
.cross {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tick li,
.cross li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--jade);
  font-weight: 700;
}
.cross li::before {
  content: "✕";
  position: absolute;
  left: 2px;
  color: var(--chad);
  font-weight: 700;
}

/* ---- hotline ------------------------------------------------------------------------------ */
.hotline {
  text-align: center;
}
.hotline .big {
  display: inline-block;
  font: clamp(64px, 18vw, 96px) / 1 var(--display);
  color: var(--gold);
  text-decoration: none;
  margin: 8px 0 6px;
}
.hotline p {
  color: #e3d6bb;
}

/* ---- FAQ -------------------------------------------------------------------------------- */
details {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-size: 22px;
  line-height: 1.2;
}
details[open] summary::after {
  content: "–";
}
details p {
  margin: 10px 0 2px;
}

/* ---- simple pages ---------------------------------------------------------------------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}
.page h1 {
  font: clamp(30px, 8vw, 42px) / 1.35 var(--display);
  color: var(--lacquer);
  margin: 0 0 8px;
}
.page h2 {
  font: 700 22px/1.4 var(--text);
  margin: 32px 0 8px;
}
.page ol {
  padding-left: 1.4em;
}

/* ---- footer ------------------------------------------------------------------------------ */
footer.site {
  padding: 36px 0 44px;
  font-size: 16px;
}
footer.site .brand {
  font-size: 22px;
  margin-bottom: 8px;
}
footer.site p {
  color: #cdbf9f;
  margin: 0 0 6px;
}
footer.site a {
  color: var(--gold);
  margin-right: 18px;
}

.nw {
  white-space: nowrap;
}
