@font-face {
  font-family: 'Noto Sans Thai';
  src: url('/fonts/NotoSansThai.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', sans-serif;
  color: #20262d;
  background: #fff;
  font-synthesis: none;
  --policy-forest: #193723;
  --policy-lime: #8cc63f;
  --policy-muted: #606b65;
  --policy-line: #e2e7df;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; font-size: 16px; line-height: 1.9; letter-spacing: -.015em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
html[lang='th'] body { font-family: 'Noto Sans Thai', 'Segoe UI', sans-serif; letter-spacing: 0; word-break: normal; }
a { color: inherit; text-underline-offset: 4px; }
a, img { -webkit-tap-highlight-color: transparent; }
a { touch-action: manipulation; }
a:focus-visible { outline: 3px solid #466b1d; outline-offset: 5px; border-radius: 3px; }
h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
.policy-shell { width: min(960px, calc(100% - 64px)); min-width: 0; margin-inline: auto; }
.policy-skip { position: fixed; z-index: 10; top: -100px; left: 16px; padding: 12px 18px; border-radius: 6px; background: var(--policy-forest); color: #fff; font-weight: 600; }
.policy-skip:focus { top: 12px; }
.policy-header { border-bottom: 1px solid var(--policy-line); background: #fff; }
.policy-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.policy-brand { display: block; flex: 0 0 130px; padding-block: 12px; }
.policy-logo-crop { display: block; position: relative; width: 130px; aspect-ratio: 1544 / 590; overflow: hidden; }
.policy-logo-crop > img { position: absolute; width: 125.91%; max-width: none; height: auto; left: -13.21%; top: -23.05%; }
.policy-header-nav, .policy-languages { display: flex; align-items: center; gap: 22px; }
.policy-header-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 13px; color: #4e5e48; }
.policy-home:hover { text-decoration: underline; }
.policy-languages { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 78px; gap: 2px; width: 78px; min-width: 78px; max-width: 78px; height: 32px; min-height: 32px; padding: 3px; margin: 0; box-sizing: border-box; border: 1px solid #d8e0d4; border-radius: 8px; background: #f6f7f2; color: #173d27; vertical-align: middle; white-space: nowrap; }
.policy-languages > a { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 0; width: 0; min-width: 24px; max-width: none; height: 24px; min-height: 24px; padding: 0; margin: 0; box-sizing: border-box; border: 0; border-radius: 5px; background: transparent; color: #52634f; box-shadow: none; font: 600 11px/1 Arial, sans-serif; letter-spacing: .04em; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; appearance: none; -webkit-tap-highlight-color: transparent; }
.policy-languages > a:hover { background: #e8eedf; color: #173d27; }
.policy-languages > a[aria-current='page'] { background: #173d27; color: #fff; }
.policy-languages > a:focus-visible { outline: 2px solid #7fac3b; outline-offset: 1px; }
@media (forced-colors: active) { .policy-languages > a[aria-current='page'] { outline: 1px solid Highlight; } }
.policy-intro { padding-block: 64px 36px; }
.policy-eyebrow { margin-bottom: 13px; color: #466b1d; font-size: 12px; font-weight: 650; line-height: 1.6; letter-spacing: .12em; }
.policy-intro h1 { max-width: 850px; color: var(--policy-forest); font-size: clamp(30px, 4.4vw, 43px); font-weight: 700; line-height: 1.45; letter-spacing: -.04em; text-wrap: balance; }
html[lang='th'] .policy-intro h1 { font-size: clamp(28px, 4.1vw, 39px); line-height: 1.6; letter-spacing: 0; }
.policy-lead { margin-top: 17px; color: var(--policy-muted); font-size: 17px; line-height: 1.8; }
.policy-date { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 24px; color: var(--policy-muted); font-size: 13px; }
.policy-date time { color: #3f4f43; font-variant-numeric: tabular-nums; }
.policy-translation { margin-top: 12px; color: var(--policy-muted); font-size: 13px; line-height: 1.9; }
.policy-translation a { display: inline-block; color: #365517; }
.policy-contents { padding: 23px 27px 24px; border: 1px solid var(--policy-line); border-radius: 16px; background: #f6f8f2; }
.policy-contents h2 { color: var(--policy-forest); font-size: 14px; font-weight: 650; }
.policy-contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; row-gap: 5px; margin: 13px 0 0; padding-left: 22px; color: #4d5e43; font-size: 14px; }
.policy-contents li { min-width: 0; padding-left: 3px; }
.policy-contents a { display: inline-block; min-height: 32px; text-decoration: none; }
.policy-contents a:hover { color: #294514; text-decoration: underline; }
.policy-document { padding-top: 11px; }
.policy-section { padding-block: 34px 35px; border-bottom: 1px solid var(--policy-line); scroll-margin-top: 24px; }
.policy-section h2 { display: flex; align-items: baseline; gap: 15px; margin-bottom: 16px; color: var(--policy-forest); font-size: 21px; font-weight: 650; line-height: 1.6; letter-spacing: -.025em; }
html[lang='th'] .policy-section h2 { font-size: 20px; line-height: 1.75; letter-spacing: 0; }
.policy-section-number { flex: 0 0 23px; color: #6d8061; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.policy-section p { color: #46514a; line-height: 2; }
.policy-support { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-block: 36px 64px; padding: 26px 28px; border-radius: 16px; background: #ecf5e0; }
.policy-support h2 { color: var(--policy-forest); font-size: 18px; font-weight: 650; line-height: 1.7; }
.policy-support p { margin-top: 5px; color: #536447; font-size: 14px; line-height: 1.8; }
.policy-contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; flex-shrink: 0; min-height: 46px; max-width: 100%; padding: 10px 21px; border: 1px solid var(--policy-forest); border-radius: 24px; background: var(--policy-forest); color: #fff; text-align: center; text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.7; }
.policy-contact-button:hover { background: #2b4c2c; border-color: #2b4c2c; }
.policy-contact-button:focus-visible { outline-color: #466b1d; }
.policy-contact-button span { flex-shrink: 0; }
.policy-footer { padding-block: 34px 30px; background: #303236; color: #dbe0e7; }
.policy-footer h2 { color: #aeb8c5; font-size: 12px; font-weight: 500; line-height: 1.8; }
.policy-company { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 13px 0 0; font-size: 13px; line-height: 1.85; }
.policy-company > div { display: flex; flex-wrap: wrap; gap: 2px 12px; min-width: 0; }
.policy-company dt { color: #aeb8c5; }
.policy-company dd { min-width: 0; margin: 0; }
.policy-company .policy-address { flex-basis: 100%; }
.policy-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #ffffff20; }
.policy-footer-bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #dbe0e7; font-size: 13px; }
.policy-footer-bottom small { color: #b7c0d1; font-size: 11px; line-height: 1.8; }
.policy-footer a:focus-visible { outline-color: var(--policy-lime); }

@media (max-width: 640px) {
  .policy-shell { width: calc(100% - 40px); }
  .policy-header-inner { min-height: 78px; gap: 12px; }
  .policy-brand { flex-basis: 110px; }
  .policy-logo-crop { width: 110px; }
  .policy-header-nav { gap: 12px; }
  .policy-header-nav .policy-home { display: none; }
  .policy-intro { padding-block: 42px 28px; }
  .policy-intro h1 { font-size: 30px; }
  html[lang='th'] .policy-intro h1 { font-size: 28px; }
  .policy-lead { margin-top: 14px; font-size: 15px; }
  .policy-date { margin-top: 21px; }
  .policy-contents { padding: 20px 22px; border-radius: 12px; }
  .policy-contents ol { grid-template-columns: minmax(0, 1fr); row-gap: 5px; margin-top: 12px; }
  .policy-document { padding-top: 4px; }
  .policy-section { padding-block: 29px 30px; }
  .policy-section h2 { gap: 11px; margin-bottom: 13px; font-size: 19px; }
  html[lang='th'] .policy-section h2 { font-size: 18px; }
  .policy-section p { font-size: 15px; line-height: 2; }
  .policy-support { align-items: flex-start; flex-direction: column; gap: 19px; margin-block: 28px 44px; padding: 24px; border-radius: 12px; }
  .policy-contact-button { width: 100%; }
  .policy-footer { padding-block: 29px 24px; }
  .policy-company { flex-direction: column; gap: 10px; font-size: 12px; }
  .policy-company > div { gap: 2px 10px; }
  .policy-company .policy-address { flex-direction: column; gap: 2px; }
  .policy-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media print {
  .policy-header, .policy-skip, .policy-contents, .policy-support, .policy-footer-bottom { display: none; }
  .policy-shell { width: 100%; max-width: none; }
  .policy-intro { padding-block: 0 20px; }
  .policy-section { padding-block: 18px; break-inside: avoid; }
  .policy-footer { padding: 24px 0 0; background: #fff; color: #20262d; }
  .policy-footer h2, .policy-company dt { color: #606b65; }
}
