/* GUSlive public pricing + legal pages (Oct 2026): pricing, terms, refund, privacy, contact.
   Light Apple-style reading layout. Logo and red match /landing/landing.css.
   English at /<page>.html, Thai at /th/<page>.html (html[lang="th"] rules below). */
:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --ln: #d2d2d7;
  --ln2: #e8e8ed;
  --tx: #1d1d1f;
  --mu: #424245;
  --dim: #6e6e73;
  --red: #e5352b;
  --red-soft: #fff1f0;
  --link: #0066cc;
  --col: 760px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #0a84ff; outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(229,53,43,.2); }
img { max-width: 100%; height: auto; }

.lg-wrap { width: 100%; max-width: calc(var(--col) + 56px); margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */
.lg-head { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--ln2); }
.lg-head-in { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.lg-logo { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 21px; letter-spacing: -.04em; color: var(--tx); }
.lg-logo:hover { text-decoration: none; }
.lg-logo b { color: var(--red); font-weight: 800; }
.lg-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; font-size: 13.5px; }
.lg-nav a { color: var(--mu); }
.lg-nav a:hover { color: var(--tx); text-decoration: none; }
.lg-nav a[aria-current="page"] { color: var(--tx); font-weight: 600; }
/* language switch: "ไทย" on English pages, "EN" on Thai pages */
.lg-lang { flex: none; display: inline-flex; align-items: center; height: 26px; margin-left: -8px; padding: 0 10px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--ln); color: var(--mu); font-size: 12.5px; font-weight: 600; letter-spacing: 0; line-height: 1;
  font-family: "Geist", "Anuphan", -apple-system, BlinkMacSystemFont, "Segoe UI", "Leelawadee UI", sans-serif; }
.lg-lang:hover { color: var(--tx); text-decoration: none; box-shadow: inset 0 0 0 1px var(--dim); }

/* ---------- article ---------- */
.lg-main { padding: 64px 0 24px; }
.lg-eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: 0; }
.lg-main h1 { margin: 0; font-size: clamp(34px, 6vw, 52px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.lg-lead { margin: 18px 0 0; font-size: 20px; line-height: 1.5; color: var(--mu); letter-spacing: -.015em; }
.lg-updated { margin: 18px 0 0; font-size: 14px; color: var(--dim); }
.lg-main h2 { margin: 56px 0 12px; font-size: 26px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.lg-main h3 { margin: 28px 0 8px; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; }
.lg-main p { margin: 12px 0 0; }
.lg-main ul, .lg-main ol { margin: 12px 0 0; padding-left: 22px; }
.lg-main li { margin: 6px 0 0; }
.lg-main li::marker { color: var(--dim); }
.lg-main strong { font-weight: 650; }
.lg-toc { margin: 32px 0 0; padding: 18px 22px; background: var(--bg2); border-radius: 16px; font-size: 15px; }
.lg-toc b { display: block; font-size: 13px; color: var(--dim); font-weight: 600; margin-bottom: 4px; }
.lg-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.lg-toc li { margin: 4px 0; break-inside: avoid; }
.lg-note { margin: 20px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--bg2); font-size: 15.5px; color: var(--mu); }
.lg-note strong { color: var(--tx); }
.lg-warn { background: var(--red-soft); }

/* ---------- pricing blocks ---------- */
.lg-price { margin: 40px 0 0; padding: 32px; border-radius: 22px; background: var(--bg2); }
.lg-price-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.lg-price-num strong { font-size: clamp(48px, 9vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.045em; }
.lg-price-num span { font-size: 18px; color: var(--mu); }
.lg-price ul { list-style: none; padding: 0; margin: 20px 0 0; }
.lg-price li { position: relative; padding-left: 26px; margin: 8px 0 0; }
.lg-price li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.lg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.lg-btn:hover { background: #d42c22; text-decoration: none; }
.lg-btn-ghost { background: #fff; color: var(--tx); box-shadow: inset 0 0 0 1px var(--ln); }
.lg-btn-ghost:hover { background: #fafafa; }

.lg-table { width: 100%; margin: 16px 0 0; border-collapse: collapse; font-size: 16px; }
.lg-table th, .lg-table td { padding: 13px 0; border-bottom: 1px solid var(--ln2); text-align: left; vertical-align: top; }
.lg-table th { font-weight: 500; padding-right: 16px; }
.lg-table td { text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.lg-table small { display: block; font-size: 14px; color: var(--dim); font-weight: 400; margin-top: 2px; }
.lg-table tr:last-child th, .lg-table tr:last-child td { border-bottom: 0; }

.lg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 0; }
.lg-card { padding: 20px; border-radius: 18px; border: 1px solid var(--ln2); background: #fff; display: flex; flex-direction: column; }
.lg-card h3 { margin: 0; font-size: 17px; }
.lg-card p { font-size: 15px; color: var(--mu); margin-top: 6px; flex: 1; }
.lg-card .lg-sum { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ln2); font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.lg-card .lg-sum strong { display: block; margin-top: 2px; font-size: 24px; color: var(--tx); letter-spacing: -.03em; }

.lg-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 0; }
.lg-term { padding: 20px; border-radius: 18px; background: var(--bg2); }
.lg-term h3 { margin: 0; }
.lg-term p { font-size: 15.5px; color: var(--mu); margin-top: 6px; }

/* ---------- contact ---------- */
.lg-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 0; }
.lg-contact > div { padding: 22px; border-radius: 18px; background: var(--bg2); }
.lg-contact h2 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.lg-contact p { margin: 4px 0 0; font-size: 16px; }
.lg-contact .lg-wide { grid-column: 1 / -1; }
.lg-contact .lg-small { margin-top: 8px; font-size: 14px; color: var(--dim); }

/* ---------- footer ---------- */
.lg-foot { margin-top: 96px; padding: 44px 0 36px; background: var(--bg2); border-top: 1px solid var(--ln2); font-size: 14px; color: var(--mu); }
.lg-foot-in { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; }
.lg-foot .lg-logo { font-size: 19px; color: var(--tx); }
.lg-co { margin: 12px 0 0; font-style: normal; line-height: 1.65; }
.lg-co .op-name { color: var(--tx); font-weight: 600; }
.lg-foot a { color: var(--mu); }
.lg-foot a:hover { color: var(--tx); }
.lg-foot-col { display: flex; flex-direction: column; gap: 8px; }
.lg-foot-col b { font-size: 13px; color: var(--tx); font-weight: 600; margin-bottom: 2px; }
.lg-copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--ln); font-size: 12.5px; color: var(--dim); }

/* ---------- Thai pages (/th/) ----------
   Same stack as landing.css html[lang="th"]: Geist for Latin and digits, Anuphan for Thai.
   Thai has marks above and below the line, so no tight tracking and a little more line height. */
html[lang="th"] body { font-family: "Geist", "Anuphan", -apple-system, BlinkMacSystemFont, "Segoe UI", "Leelawadee UI", sans-serif; letter-spacing: 0; line-height: 1.7; }
html[lang="th"] .lg-eyebrow { margin-bottom: 14px; }
html[lang="th"] .lg-main h1 { line-height: 1.3; letter-spacing: -.01em; }
html[lang="th"] .lg-main h2, html[lang="th"] .lg-main h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="th"] .lg-lead { line-height: 1.6; letter-spacing: 0; }
html[lang="th"] .lg-btn { letter-spacing: 0; }
/* keep short Thai phrases like "2 ปลายทาง" on one line (the line breaker splits ปลาย|ทาง) */
.lg-nw { white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 734px) {
  body { font-size: 16px; }
  .lg-wrap { padding: 0 16px; }
  .lg-head-in { flex-wrap: wrap; gap: 2px 16px; padding-top: 10px; padding-bottom: 10px; }
  .lg-nav { order: 2; margin-left: 0; width: 100%; gap: 2px 16px; font-size: 14px; }
  .lg-lang { order: 1; margin-left: auto; }
  .lg-main { padding-top: 40px; }
  .lg-lead { font-size: 18px; }
  .lg-main h2 { margin-top: 44px; font-size: 23px; }
  .lg-toc ol { columns: 1; }
  .lg-price { padding: 24px 20px; border-radius: 18px; }
  .lg-cards, .lg-terms, .lg-contact { grid-template-columns: 1fr; }
  .lg-btn { flex: 1 1 auto; }
  .lg-foot { margin-top: 72px; }
  .lg-foot-in { grid-template-columns: 1fr; }
}
@media print {
  .lg-head { position: static; }
  .lg-cta, .lg-nav, .lg-lang { display: none; }
  .lg-foot { background: none; }
}
