@font-face {
  font-family: "Barlow"; src: url("barlow-bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Thai"; src: url("thai-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Thai"; src: url("thai-bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --ink: #152d50;
  --sea: #122947;
  --bright: #fb9a49;
  --rust: #aa490d;
  --stone: #f6f4ee;
  --line: #d3d6d3;
  --muted: #4d5864;
  --edge: clamp(22px, 5.7vw, 96px);
  --bound: 1496px;
  --heading: Barlow, "Noto Thai", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, "Noto Thai", sans-serif;
  color: var(--ink);
  font: 100%/1.56 var(--body);
  background: white;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure, fieldset, dl, dd { margin: 0; }
ul, ol, fieldset { padding: 0; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
img { max-width: 100%; height: auto; display: block; }
button, select, input, summary { font: inherit; }
summary, label:has(input[type="radio"]) { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
fieldset { min-width: 0; border: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a34412; outline-offset: 4px; }
:is(.hero,.calculator-section,.story-mast) :focus-visible { outline-color: var(--bright); }
.rail { width: 100%; max-width: var(--bound); margin-inline: auto; padding-inline: var(--edge); }
.sr-only, .filters input, .money-buttons input { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip { position: absolute; left: var(--edge); top: 4px; z-index: 12; background: white; padding: .6rem 1rem; transform: translateY(-140%); }
.skip:focus { transform: translateY(0); }
h1,h2,h3 { font-family: var(--heading); font-weight: 700; text-wrap: balance; }
h1,h2 { letter-spacing: -.048em; }
h2 { font-size: clamp(2.25rem, 3.5vw, 3.85rem); line-height: 1.03; }
h3 { line-height: 1.12; letter-spacing: -.03em; }
:lang(th):is(h1,h2,h3), html[lang="th"] :is(h1,h2,h3) { letter-spacing: normal; line-height: 1.32; }
html[lang="zh-Hans"] :is(h1,h2,h3) { line-height: 1.24; letter-spacing: normal; font-family: "PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif; }
:lang(ru) { hyphens: auto; }
.mast { background: #fff; border-bottom: 1px solid #dfe3e6; position: relative; z-index: 5; }
.mast-inner { min-height: 84px; display: flex; align-items: center; gap: clamp(22px,3.8vw,70px); }
.brand, .footer-brand { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 162px; }
.wide-nav, .wide-languages, .mast-right { display: flex; align-items: center; }
.wide-nav { gap: clamp(16px,2.4vw,36px); }
.mast a { text-decoration: none; }
.mast nav a { display: flex; align-items: center; min-height: 44px; }
.mast nav a:hover, .mast nav a:focus-visible { text-decoration: underline; }
.wide-nav a { font-size: .95rem; font-weight: 600; }
.mast-right { margin-inline-start: auto; gap: 12px; }
.wide-languages { gap: 13px; }
.wide-languages a { color: #56616e; font-size: .89rem; }
.wide-languages [aria-current="page"], .footer-languages [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: .4em; color: var(--ink); font-weight: 700; }
.compact-menu { display: none; position: relative; }
.compact-menu summary { min-height: 46px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.chevron { border: solid var(--ink); border-width: 0 1.8px 1.8px 0; width: 7px; height: 7px; transform: translateY(-2px) rotate(45deg); }
.hamburger { width: 22px; height: 12px; border-block: 2px solid var(--ink); }
.compact-menu nav { position: absolute; right: 0; top: 100%; background: white; border: 1px solid var(--ink); min-width: 160px; padding: .45rem .9rem; box-shadow: 4px 4px 0 var(--ink); }
.compact-menu nav a { padding: .3rem; font-size: 1rem; }
.compact-menu [aria-current] { font-weight: 700; text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0,47%) minmax(0,53%); background: var(--sea); color: white; }
.hero-copy { align-self: center; padding: clamp(47px,5.2vw,95px) clamp(25px,4vw,70px) clamp(49px,5.8vw,102px) max(var(--edge),calc((100vw - var(--bound))/2 + var(--edge))); }
.eyebrow, .topic { color: var(--rust); font-weight: 700; font-size: .86rem; letter-spacing: .06em; }
html[lang="en"] :is(.eyebrow,.topic),html[lang="ru"] :is(.eyebrow,.topic) { text-transform: uppercase; }
html[lang="th"] :is(.eyebrow,.topic),html[lang="zh-Hans"] :is(.eyebrow,.topic) { letter-spacing: 0; font-size: .96rem; }
.hero .eyebrow, .calc-intro .eyebrow { color: #ffb77b; display: flex; align-items: center; gap: 10px; }
.hero .eyebrow::before, .calc-intro .eyebrow::before { content: ""; background: var(--bright); width: 22px; height: 5px; transform: skewX(-29deg); }
.hero h1 { font-size: clamp(3.6rem,5.8vw,6.7rem); line-height: .93; letter-spacing: -.043em; margin-block: clamp(21px,2vw,34px); }
.hero h1 span { display: block; }
html[lang="th"] .hero h1 { font-size: clamp(2.9rem,4.9vw,5.5rem); line-height: 1.23; letter-spacing:normal; }
html[lang="ru"] .hero h1 { font-size: clamp(2.9rem,4.5vw,5.1rem); line-height: 1.04; }
html[lang="zh-Hans"] .hero h1 { font-size: clamp(3rem,4.8vw,5.8rem); letter-spacing:normal; }
.hero-intro { max-width: 40ch; color: #edf1f4; font-size: clamp(1.03rem,1.24vw,1.16rem); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: clamp(24px,2.6vw,42px); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font-size: 1rem; font-weight: 700; }
.primary { background: var(--bright); color: #142b47; padding: .71rem 1.3rem; text-decoration: none; border: 2px solid var(--bright); }
.primary:hover { background: #ffb779; border-color: #ffb779; }
.secondary { text-underline-offset: .33em; }
.lead-image, .story-image, .feature-image, .side-image { margin: 0; min-width: 0; position: relative; overflow: hidden; background: #c6c8c0; }
.lead-image img { height: 100%; width: 100%; object-fit: cover; object-position: 55% 52%; position: absolute; inset: 0; }
.lead-image { min-height: 410px; }
figure figcaption { position: absolute; right: 0; bottom: 0; display: flex; gap: 7px; align-items: center; background: #142c47; color: #f9fafb; padding: 4px 11px; font-size: .75rem; }
figcaption a { color: inherit; text-decoration: none; }
figcaption a:hover { text-decoration: underline; }
figcaption span { border-right: 1px solid #848f9c; padding-right: 7px; }
.compare-section { background: var(--stone); border-bottom: 1px solid var(--line); }
.compare-layout { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(30px,7vw,105px); padding-block: clamp(48px,5.4vw,88px); align-items:start; }
.compare-copy h2 { max-width: 11ch; }
html[lang="th"] .compare-copy h2, html[lang="zh-Hans"] .compare-copy h2 { max-width: 14ch; }
.compare-copy > p, .guide-heading p, .lead-guide > p:last-child, .calc-intro > p:not(.eyebrow) { margin-top: 17px; color: var(--muted); max-width: 42ch; font-size: 1.04rem; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 24px; font-size: .9rem; }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }
.mark { width: 1em; height: 1em; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.mark.tick::after { content:""; width: .64em; height: .34em; border: solid var(--ink); border-width: 0 0 2px 2px; transform: translateY(-.1em) rotate(-45deg); }
.mark.dash::after { content:""; width: .65em; border-top: 2px solid #7c5a4c; }
.matrix { min-width: 0; }
.filters { display: inline-flex; max-width:100%; flex-wrap:wrap; background: #e7e6df; padding: 3px; margin-bottom: 17px; }
.filters label, .money-buttons label { position: relative; }
.filters label span, .money-buttons label span { display: inline-flex; justify-content:center; align-items:center; min-height: 44px; padding: .35rem .85rem; font-size: .91rem; font-weight: 600; }
.filters input:checked + span { background: var(--ink); color: white; }
.filters input:focus-visible + span, .money-buttons input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 3px; }
.matrix table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.matrix th, .matrix td { vertical-align: middle; }
.matrix thead { border-block: 1.5px solid var(--ink); }
.matrix thead th { padding-block: 9px; font-size: 1rem; }
.matrix th:first-child { width: 51%; text-align: left; padding-right: 12px; }
.matrix thead th:not(:first-child) span { font-size: .77rem; font-weight: 400; }
.matrix thead th b { font: 700 1.45rem/1.15 var(--heading); }
.matrix tbody th { font-size: 1rem; line-height: 1.4; font-weight: 500; }
.matrix tbody th, .matrix tbody td { padding-block: 12px; border-bottom: 1px solid #c9ccc9; }
.matrix td { text-align: center; font-size: 1.2rem; }
.conditions { margin-top: 7px; font-size: .93rem; }
.conditions summary, .glossary summary { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height: 46px; }
.conditions summary { font-weight: 600; }
.conditions summary::after, .glossary summary::after { content:"+"; flex:none; font: 400 1.5rem/1 Arial,sans-serif; }
details[open].conditions summary::after, .glossary details[open] summary::after { content:"−"; }
.conditions p { color: var(--muted); }
.conditions ul, .sources ul { margin: 10px 0 7px 1.16em; }
.conditions li, .sources li { padding-block: 2px; }
.guides-section { padding-block: clamp(43px,5vw,84px); }
.guide-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; border-bottom: 2px solid var(--ink); padding-bottom: 18px; margin-bottom: 25px; }
.guide-heading p { margin: 0; max-width: 35ch; }
.guide-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:clamp(25px,4.5vw,78px); }
.feature-image { aspect-ratio: 2.2; }
.feature-image img, .side-image img, .story-image img { width:100%; height:100%; object-fit:cover; }
.feature-image img { object-position:center 56%; }
.lead-guide .topic { margin-top: 19px; }
.topic { margin-bottom: 7px; }
.lead-guide h3 { font-size: clamp(1.85rem,3.2vw,3.35rem); }
.guide-grid h3 a { text-decoration: none; }
.guide-grid h3 a:hover, .guide-grid h3 a:focus-visible { text-decoration: underline; }
.lead-guide > p:last-child { margin-top: 10px; max-width:51ch; }
.secondary-guide { display:grid; grid-template-columns: minmax(0,1fr) minmax(125px,.68fr); gap: 16px; align-items: center; padding-bottom: 24px; }
.secondary-guide + .secondary-guide { border-top: 1px solid var(--line); padding: 23px 0 0; }
.secondary-guide h3 { font-size: clamp(1.5rem,2.4vw,2.6rem); }
.side-image { aspect-ratio: 1.1; }
.side-image figcaption { display:none; }
.calculator-section { background: var(--sea); color: white; }
.calculator-grid { display:grid; grid-template-columns:minmax(0,.96fr) minmax(0,1fr); gap:clamp(30px,8vw,125px); align-items:center; padding-block:clamp(44px,5vw,85px); }
.calc-intro h2 { margin-top:14px; max-width:15ch; }
.calc-intro > p:not(.eyebrow) { color:#e3eaf0; max-width:48ch; }
.line-link { display:inline-block; margin-top:15px; font-weight:600; }
.money-buttons { display:flex; gap:7px; flex-wrap:wrap; margin:8px 0 21px; }
.money-buttons label span { border:1px solid #9bacbd; color:white; padding:.4rem .85rem; }
.money-buttons input:checked + span { color:var(--sea); background:var(--bright); border-color:var(--bright); }
.money-buttons input:focus-visible + span { outline-color:white; }
.balances { display:grid; grid-template-columns:1fr 1fr; gap:15px; border-block: 1px solid #647487; padding:16px 0 19px; }
.balances span, .balances strong { display:block; }
.balances span { font-size:.92rem; }
.balances strong { font:700 clamp(1.85rem,3.3vw,3.5rem)/1.15 var(--heading); margin-top:8px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.balances div:first-child strong { color:var(--bright); }
.glossary { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(24px,7vw,120px); padding-block:clamp(43px,5vw,80px); }
.glossary details { border-top:1px solid var(--line); }
.glossary details:last-child { border-bottom:1px solid var(--line); }
.glossary summary { min-height:53px; font-family:"Noto Thai",sans-serif; font-weight:700; }
.glossary details p { color:var(--muted); padding-bottom:15px; }
footer { background:var(--stone); border-top:1px solid var(--line); }
.footer-inner { padding-block:clamp(30px,4vw,55px); display:flex; justify-content:space-between; gap:40px; }
.footer-brand img { width:142px; }
.footer-info p { max-width:50ch; color:var(--muted); font-size:.94rem; margin:13px 0 0; }
.footer-links nav { display:flex; flex-wrap:wrap; gap:5px 17px; align-items:center; justify-content:flex-end; }
.footer-links nav+nav { margin-top:12px; }
.footer-links a { display:inline-flex; align-items:center; min-height:44px; font-size:.9rem; }
.story-mast { background:var(--sea); color:white; }
.story-title { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(24px,6.3vw,100px); align-items:center; padding-block:clamp(32px,4.5vw,72px); }
.story-title h1 { font-size:clamp(2.4rem,4.3vw,4.9rem); line-height:1.04; margin-block:19px 15px; }
.story-title p { color:#e8eef2; max-width:55ch; font-size:1.11rem; }
.story-back { display:inline-block; color:#ffc28a; font-weight:600; padding-block:7px; }
.story-image { aspect-ratio: 1.56; }
.story-reading { padding-block:clamp(38px,5vw,80px); display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr); gap:clamp(40px,9vw,150px); }
.article-body { font-size:1.1rem; line-height:1.74; max-width:66ch; }
.article-body section + section { margin-top:32px; }
.article-body h2 { font-size:clamp(1.55rem,2.35vw,2.45rem); margin-bottom:12px; }
.terms dt { font-weight:700; font-family:"Noto Thai",sans-serif; }
.terms dd+dt { margin-top:12px; }
.story-reading aside { border-top:3px solid var(--ink); padding-top:15px; }
.story-reading aside h2 { font-size:1.45rem; }
.story-reading aside ul { list-style:none; margin-block:16px 4px; }
.story-reading aside li { border-bottom:1px solid var(--line); }
.story-reading aside li a { display:block; padding:13px 0; }
@media(min-width:1550px) {
  .hero { grid-template-columns: minmax(0,calc(50% - 42px)) minmax(0,calc(50% + 42px)); }
}
@media(max-width:1120px) {
  .wide-languages { display:none; }
  .language-picker { display:block; }
  .mast-inner { min-height:73px; }
}
@media(max-width:850px) {
  .wide-nav { display:none; }
  .menu-picker { display:block; }
  .hero-copy { padding-inline-end:24px; }
  .hero { grid-template-columns:minmax(0,50%) minmax(0,50%); }
  .hero h1 { font-size:clamp(3.05rem,6vw,4.1rem); }
  html[lang="th"] .hero h1 { font-size:clamp(2.45rem,5vw,3.0rem); }
  html[lang="ru"] .hero h1 { font-size:clamp(2.35rem,4.8vw,3.15rem); }
  .compare-layout { grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:25px; }
  .footer-inner { flex-wrap:wrap; }
  .footer-links nav { justify-content:flex-start; }
}
@media(max-width:700px) {
  .mast-inner { min-height:65px; }
  .brand img { width:141px; }
  .hero { display:flex; flex-direction:column; }
  .hero-copy { align-self:auto; padding:31px var(--edge) 29px; }
  .hero h1 { font-size:clamp(2.7rem,9vw,4.6rem); line-height:.98; margin-block:13px 12px; max-width:18ch; }
  .hero h1 span { display:inline; }
  html[lang="th"] .hero h1 { line-height:1.25; font-size:clamp(2.2rem,7.9vw,3.3rem); }
  html[lang="th"] .hero h1 span, html[lang="zh-Hans"] .hero h1 span { display:block; }
  html[lang="ru"] .hero h1 { font-size:clamp(2.25rem,7.5vw,3.35rem); }
  html[lang="zh-Hans"] .hero h1 { font-size:clamp(2.2rem,7.5vw,3.3rem); line-height:1.15; }
  .hero-intro { max-width:52ch; font-size:1rem; line-height:1.55; }
  .hero-actions { margin-top:18px; }
  .hero .eyebrow { font-size:.85rem; }
  .lead-image { min-height:0; aspect-ratio:2.35; }
  .lead-image img { object-position:50% 58%; }
  .compare-layout { display:block; padding-block:36px; }
  .compare-copy h2, html[lang="th"] .compare-copy h2, html[lang="zh-Hans"] .compare-copy h2 { max-width:unset; }
  .compare-copy > p { margin-top:10px; max-width:52ch; }
  .legend { margin-top:13px; }
  .matrix { margin-top:18px; }
  .guide-heading { align-items:start; display:block; }
  .guide-heading p { margin-top:10px; max-width:50ch; }
  .secondary-guide { grid-template-columns:1fr; }
  .secondary-guide .side-image { aspect-ratio:1.65; }
  .calculator-grid, .glossary { grid-template-columns:1fr; }
  .calc-intro h2 { max-width:23ch; }
  .calculator-grid { gap:24px; }
  .glossary { gap:18px; }
  .footer-inner { display:block; }
  .footer-links { margin-top:15px; }
  .footer-links nav+nav { margin-top:3px; }
  .story-title { grid-template-columns:1fr; gap:20px; }
  .story-image { aspect-ratio:2.3; }
  .story-reading { grid-template-columns:1fr; gap:32px; }
}
@media(max-width:530px) {
  :root { --edge:20px; }
  h2 { font-size:clamp(1.9rem,7.1vw,2.5rem); }
  .mast-right { gap:5px; }
  .primary { padding-inline:1.05rem; }
  .guide-grid { grid-template-columns:1fr; gap:24px; }
  .feature-image { aspect-ratio:1.85; }
  .secondary-guide { grid-template-columns:minmax(0,1fr) minmax(95px,.55fr); gap:14px; border-top:1px solid var(--line); padding-block:18px; }
  .secondary-guide .side-image { aspect-ratio:1.22; }
  .matrix th:first-child { width:48%; }
  .matrix thead th:not(:first-child) span { display:block; }
  .matrix tbody th { font-size:.94rem; }
  .matrix tbody td,.matrix tbody th { padding-block:11px; }
  .footer-links nav { gap:3px 15px; }
}
@media(max-width:359px) {
  :root { --edge:16px; }
  .hero-actions { gap:6px 12px; }
  .filters label span { padding-inline:.55rem; }
  .legend { gap:6px 12px; }
  .matrix th:first-child { width:46%; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto !important; } }
.crumbs ol { list-style:none; display:flex; flex-wrap:wrap; align-items:center; gap:0 .7rem; }
.crumbs li { display:flex; align-items:center; gap:.7rem; font-size:.93rem; }
.crumbs li + li::before { content:"/"; opacity:.64; }
.crumbs a { display:flex; align-items:center; min-height:44px; }
.story .crumbs { color:#ffc28a; }
.byline { display:block; color:#e8eef2; margin-top:14px; font-size:.93rem; }
.archive-link { margin-top:24px; border-top:1px solid var(--line); padding-top:10px; }
.archive-link a { display:inline-flex; min-height:44px; align-items:center; font-weight:700; }
.archive { padding-block: 8px clamp(34px,5vw,76px); }
.archive-head { padding-block:8px clamp(27px,3vw,48px); }
.archive-head .eyebrow { margin-block:17px 10px; }
.archive h1 { font-size:clamp(2.7rem,5.8vw,6.2rem); line-height:1.04; max-width:20ch; }
.archive-lead { max-width:63ch; font-size:clamp(1.05rem,1.5vw,1.24rem); color:var(--muted); margin-top:16px; }
.archive-list { list-style:none; border-top:2px solid var(--ink); }
.archive-list li { border-bottom:1px solid var(--line); }
.archive-entry { display:grid; grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr); align-items:center; gap:clamp(22px,5vw,86px); padding-block:clamp(20px,2.5vw,36px); }
.archive-image { position:relative; margin:0; aspect-ratio:2.05; overflow:hidden; background:var(--stone); }
.archive-image img { height:100%; width:100%; object-fit:cover; }
.archive-entry h2 { font-size:clamp(1.7rem,3vw,3.35rem); max-width:27ch; }
.archive-entry h2 a { text-decoration:none; }
.archive-entry h2 a:hover, .archive-entry h2 a:focus-visible { text-decoration:underline; }
.archive-entry div > p:last-child { color:var(--muted); margin-top:10px; max-width:52ch; }
.archive-method { margin-top:clamp(24px,4vw,58px); display:grid; grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr); gap:clamp(22px,5vw,86px); }
.archive-method h2 { font-size:clamp(1.5rem,2.2vw,2.4rem); }
.archive-method p { max-width:62ch; color:var(--muted); }
@media(max-width:700px) {
 .archive-entry, .archive-method { grid-template-columns:1fr; gap:13px; }
 .archive-head .eyebrow { margin-top:8px; }
 .archive h1 { font-size:clamp(2.35rem,8vw,3.7rem); }
 .archive-entry h2 { max-width:unset; }
 .archive-entry .topic { margin-bottom:5px; }
 .archive .archive-entry { padding-block:22px; }
}
