/* ChubWai.com coming-soon page. Colours: var(--token) only (CLAUDE.md §3).
   Same type scale as the sales page: nothing below 17px for Thai prose,
   seven --fs-* tokens and no ad-hoc sizes. */
:root {
  --fs-micro: 13px;
  --fs-small: 15px;
  --fs-body:  17px;
  --fs-lead:  20px;
  --fs-h3:    24px;
  --fs-h2:    30px;
  --fs-h1:    38px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  color: var(--navy); background: var(--app-bg); overflow-x: hidden; max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }
/* Do NOT put overflow-wrap:anywhere/break-word on Thai text: it overrides the
   browser's Thai dictionary and breaks words mid-way (CLAUDE.md §3). */
:lang(th) { word-break: normal; line-break: normal; overflow-wrap: normal; }
.nb { white-space: nowrap; }
.bwn { white-space: nowrap; }
.bw { display: inline-block; width: 1.18em; height: 1.09em; vertical-align: -0.14em; margin-inline-end: 0.16em; fill: currentColor; }

.lockup { text-align: center; padding: 56px 0 8px; }
.lockup .mascot { width: 96px; height: 96px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-card); padding: 14px; }
.lockup .name { font-weight: 700; font-size: var(--fs-h2); line-height: 1.15; margin-top: 10px; }
.lockup .latin { font-weight: 700; font-size: var(--fs-lead); line-height: 1.2; color: var(--gray-700); }

.hero { text-align: center; padding: 20px 0 8px; }
.eyebrow { color: var(--blue); font-weight: 600; font-size: var(--fs-small); margin: 0 0 8px; }
h1 { font-size: var(--fs-h1); line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
/* In a heading the name is blue (CLAUDE.md §3 spacing rule). */
h1 .bwn { color: var(--blue); }
h2 { font-size: var(--fs-h3); line-height: 1.35; margin: 0; font-weight: 700; }
.sub { color: var(--gray-700); font-size: var(--fs-lead); line-height: 1.5; margin: 0 0 20px; }
.small { font-size: var(--fs-small); line-height: 1.6; color: var(--gray-700); margin: 0; }

.actions { display: grid; gap: 12px; }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: var(--r-lg); font-weight: 700; font-size: var(--fs-body);
  padding: 14px 22px; text-decoration: none; border: none; cursor: pointer; min-height: 48px; text-align: center;
}
.btn small { font-size: var(--fs-small); font-weight: 600; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-card); }
.btn-outline { background: var(--white); color: var(--navy); border: 1px solid var(--gray-200); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* LINE Official Account card: the only contact route (owner decision
   2026-09-22). QR is inline SVG, navy on white, quiet zone included. */
.line-card {
  display: grid; justify-items: center; gap: 12px; margin: 28px 0 8px; padding: 22px 18px;
  background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-card); text-align: center;
}
.line-qr { width: min(100%, 232px); aspect-ratio: 1; }
.line-qr .qr { display: block; width: 100%; height: 100%; }
.qr-bg { fill: var(--white); }
.qr-fg { stroke: var(--navy); fill: none; }
.line-id { margin: 0; font-size: var(--fs-h3); font-weight: 700; }

footer.site { background: var(--navy); color: var(--white); padding: 24px 0; margin-top: 28px; text-align: center; }
footer.site .tag { font-size: var(--fs-small); margin: 0 0 8px; color: color-mix(in srgb, var(--white) 88%, var(--navy)); }
footer.site .legal-note { font-size: var(--fs-micro); margin: 0; color: color-mix(in srgb, var(--white) 70%, var(--navy)); }

.lang-switch { position: fixed; top: 14px; right: 14px; z-index: 21; display: flex; background: var(--white); border-radius: 999px; box-shadow: var(--shadow-card); overflow: hidden; font-size: var(--fs-small); font-weight: 700; }
.lang-switch a { padding: 6px 12px; text-decoration: none; color: var(--gray-400); }
.lang-switch a.active { color: var(--white); background: var(--blue); }
