/* The guide pages on kruujai.com (/how-to-learn-thai, /learn-thai-app; SEO
   Phase 3, 30 September 2026): the home page's colours, type and fonts. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Thai in a LOOPED face, as in the app (docs/runbooks/content.md). */
@font-face { font-family: 'IBM Plex Sans Thai Looped'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/ibm-plex-sans-thai-looped-600-thai.woff2) format('woff2'); unicode-range: U+0E00-0E7F; }
:root { --navy: #13233a; --ink: #1b2d45; --blue: #285cce; --blue-deep: #1d47a6; --tint: #eaf0fc; --orange: #ed773f;
  --soft: #55667d; --faint: #5a697e; --rule: #dde4ee; --ground: #f6f8fb; --white: #ffffff; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: Manrope, 'Helvetica Neue', Arial, sans-serif; background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); } a:hover { color: var(--blue-deep); }
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: -0.03em; }
p { margin: 0; }
.thai { font-family: 'IBM Plex Sans Thai Looped', Thonburi, Tahoma, sans-serif; font-weight: 600; color: var(--navy); }
.rom { font-weight: 700; color: var(--blue); }
.wrap { max-width: 1312px; margin: 0 auto; padding-inline: 32px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--blue); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--white); } .btn-primary:hover { background: var(--blue-deep); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--rule); } .btn-ghost:hover { color: var(--ink); border-color: #c3cddb; }

.bar { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; } .brand b { color: var(--orange); }
.bar nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 600; }
.bar nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.bar .btn { min-height: 46px; padding: 0 22px; }

.intro { padding-block: 56px 64px; }
.intro .inner { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.intro h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.intro .lead { font-size: 20px; line-height: 1.6; color: var(--soft); }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule); font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.toc a:hover { border-color: #c3cddb; }

.article { background: var(--white); padding-block: 80px; }
.article .inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.article h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin-top: 30px; scroll-margin-top: 24px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 20px; margin-top: 8px; }
.article p, .article li { font-size: 18px; line-height: 1.7; color: var(--ink); }
.article ul, .article ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.step-num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: 16px; font-weight: 800; align-items: center; justify-content: center; margin-right: 12px; vertical-align: 4px; }
.words { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.word { border: 1px solid var(--rule); border-radius: 18px; padding: 16px 18px; background: var(--ground); display: flex; flex-direction: column; gap: 2px; }
.word .thai { font-size: 26px; } .word .rom { font-size: 16px; } .word span:last-child { font-size: 15px; color: var(--soft); }
.inapp { border-radius: 20px; background: var(--tint); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.inapp strong { font-size: 13px; letter-spacing: .08em; color: var(--blue-deep); }
.inapp p { font-size: 16px; line-height: 1.6; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.compare th { font-size: 13px; letter-spacing: .06em; color: var(--faint); }
.compare td:first-child { font-weight: 700; color: var(--navy); }
.table-wrap { overflow-x: auto; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 4px; }
.honest { border: 1px solid var(--rule); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.honest h3 { margin: 0; }

.end-wrap { padding-block: 80px; }
.end { background: var(--navy); border-radius: 32px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.end h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; }
.end p { margin-top: 14px; font-size: 18px; line-height: 1.6; color: #b9c6d8; max-width: 640px; }
.end .btn { background: var(--white); color: var(--navy); font-size: 18px; font-weight: 800; flex-shrink: 0; }

footer .wrap { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-block: 28px; }
footer .brand { font-size: 18px; } footer .brand img { width: 32px; height: 32px; }
footer p { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
footer p a { color: var(--soft); }

@media (max-width: 820px) {
  .wrap { padding-inline: 20px; }
  .bar { height: 72px; } .bar nav a:not(.btn):not(.lang-link) { display: none; } .brand { font-size: 20px; } .brand img { width: 36px; height: 36px; }
  .bar nav { gap: 8px; } .bar .btn { min-height: 40px; padding: 0 14px; font-size: 15px; }
  .intro { padding-block: 28px 40px; }
  .intro .lead { font-size: 17px; }
  .ctas .btn { flex: 1 1 100%; }
  .article { padding-block: 48px; }
  .article p, .article li { font-size: 17px; }
  .end-wrap { padding-block: 48px; }
  .end { flex-direction: column; align-items: stretch; padding: 32px 24px; }
  .end .btn { width: 100%; }
  .compare { font-size: 15px; } .compare th, .compare td { padding: 12px 8px; }
}

/* The designed guides (canvas "Thai Guide pages", approved 30 September 2026). */
.thai-w { font-family: 'IBM Plex Sans Thai Looped', Thonburi, Tahoma, sans-serif; font-weight: 600; color: #ffffff; }
.hero { padding-block: 64px 88px; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.hero .lead { font-size: 18px; line-height: 1.65; color: var(--soft); }
.hero .toc { margin-top: 44px; }
.panel { background: var(--white); border: 1px solid var(--rule); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 50px rgba(19, 35, 58, .07); }
.panel.soft { background: var(--ground); }
.label { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--faint); }
.route { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.route li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 700; color: var(--navy); }
.route b { width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.route li:first-child b { background: var(--blue); color: var(--white); }

.step { padding-block: 88px; background: var(--white); }
.step.alt { background: var(--ground); }
.step-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.step.flip .step-grid > :first-child { order: 2; }
.step-copy { display: flex; flex-direction: column; gap: 18px; }
.step-copy h2, .sec-head h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; }
.step-copy > p, .sec-head > p:not(.eyebrow) { font-size: 18px; line-height: 1.65; color: var(--soft); }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.inapp p { color: var(--ink); }

.tone-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: var(--ground); }
.tone-row .name { width: 70px; font-size: 13px; font-weight: 800; }
.tone-row .w { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; flex-grow: 1; }
.tone-row .thai { font-size: 24px; } .tone-row .m { font-size: 14px; color: var(--soft); }
.hear { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hear:hover { background: #dbe5fa; } .hear.playing { background: var(--blue); color: var(--white); }
.hear svg { width: 18px; height: 18px; }
.t-mid { color: #55667d; } .t-low { color: #285cce; } .t-falling { color: #b34616; } .t-high { color: #1d7a5a; } .t-rising { color: #6b3fc4; }

.particles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.particle { border-radius: 16px; background: var(--navy); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.particle small { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #9fbaf5; }
.particle .thai-w { font-size: 28px; } .particle span:last-child { font-weight: 700; color: #9fbaf5; }
.cards6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wcard { border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px; background: var(--white); display: flex; flex-direction: column; gap: 2px; margin: 0; }
.wcard .thai { font-size: 24px; } .wcard .rom { font-size: 15px; } .wcard span:last-child { font-size: 14px; color: var(--soft); }

.conv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.switch { display: flex; background: var(--ground); border: 1px solid var(--rule); border-radius: 999px; padding: 4px; }
.switch button { border: 0; border-radius: 999px; padding: 9px 14px; min-height: 40px; font-size: 14px; font-weight: 700; cursor: pointer; background: transparent; color: var(--soft); }
.switch button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.line { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.line.them { align-items: flex-end; }
.line small { font-size: 12px; font-weight: 700; color: var(--faint); }
.bubble { max-width: 380px; border-radius: 18px; padding: 12px 16px; background: var(--ground); display: flex; flex-direction: column; gap: 2px; }
.bubble .thai { font-size: 22px; } .bubble .rom { font-size: 15px; } .bubble .en { font-size: 14px; color: var(--soft); }
.them .bubble { background: var(--blue); } .them .bubble .thai { color: var(--white); } .them .bubble .rom, .them .bubble .en { color: #dbe5fa; }
.conv-note { font-size: 14px; color: var(--soft); }

.voice-who { display: flex; align-items: center; gap: 12px; }
.voice-who > span { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 800; }
.voice-who strong { display: block; color: var(--navy); } .voice-who small { font-size: 13px; color: var(--soft); }
.say { align-self: flex-start; max-width: 340px; border-radius: 18px; background: var(--ground); padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.say .thai { font-size: 26px; } .say .rom { font-size: 16px; }
.waves { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; }
.waves i { width: 5px; border-radius: 3px; background: var(--blue); transform-origin: center; animation: wave 1s ease-in-out infinite; }
.mic { position: relative; align-self: center; width: 72px; height: 72px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.mic .ring { position: absolute; inset: 0; border-radius: 50%; background: var(--blue); animation: pulse 1.6s ease-out infinite; }
.mic svg { position: relative; }
.caption { text-align: center; font-size: 13px; color: var(--soft); }

.rom-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rom-top label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 44px; }
.rom-top input { width: 20px; height: 20px; accent-color: var(--blue); }
.big-card { border: 1px solid var(--rule); border-radius: 18px; padding: 20px; background: var(--ground); display: flex; flex-direction: column; gap: 6px; }
.big-card .thai { font-size: 44px; } .big-card .rom { font-size: 20px; } .big-card span:last-child { font-size: 16px; color: var(--soft); }

.bars { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: flex; flex-direction: column; gap: 6px; }
.track { height: 14px; border-radius: 7px; background: var(--tint); overflow: hidden; }
.track i { display: block; height: 100%; }
.bar-row p { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.bar-row strong { color: var(--navy); } .bar-row span { color: var(--soft); text-align: right; }
.small { font-size: 13px; color: var(--soft); }

.options3 { display: flex; flex-direction: column; gap: 12px; }
.opt3 { border: 1px solid var(--rule); border-radius: 18px; padding: 18px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.opt3.app { background: var(--tint); }
.opt3 strong { font-size: 18px; color: var(--navy); } .opt3 span { font-size: 15px; line-height: 1.5; color: var(--ink); } .opt3 small { font-size: 14px; line-height: 1.5; color: var(--soft); }

.checks { display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--ground); cursor: pointer; }
.check:has(input:checked) { background: var(--tint); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.check strong { display: block; font-size: 15px; color: var(--navy); } .check small { font-size: 14px; line-height: 1.5; color: var(--soft); }
.count { font-size: 14px; font-weight: 800; color: var(--blue); }

.sec { padding-block: 88px; }
.sec.white { background: var(--white); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.sec-head.centre { align-items: center; text-align: center; margin-inline: auto; }
.kinds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kind { border: 1px solid var(--rule); border-radius: 20px; padding: 22px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.kind strong { font-size: 19px; color: var(--navy); }
.kind div { display: flex; flex-direction: column; gap: 4px; }
.kind small { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--blue); } .kind .chk small { color: var(--faint); }
.kind div > span { font-size: 15px; line-height: 1.5; color: var(--ink); } .kind .chk > span { color: var(--soft); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.stat { background: var(--ground); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.stat strong { font-size: 34px; letter-spacing: -0.02em; color: var(--navy); } .stat > span { font-size: 14px; font-weight: 700; color: var(--blue); }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.tool { border: 1px solid var(--rule); border-radius: 18px; padding: 18px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.tool strong { display: block; font-size: 17px; color: var(--navy); } .tool small { font-size: 14px; line-height: 1.5; color: var(--soft); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; overflow: hidden; }
.ico svg { width: 22px; height: 22px; }
.ico-ka .k { position: absolute; left: 6px; top: 3px; font-family: 'IBM Plex Sans Thai Looped', Thonburi, sans-serif; font-weight: 600; font-size: 20px; line-height: 1; }
.ico-ka .a { position: absolute; right: 7px; bottom: 4px; font-weight: 800; font-size: 17px; line-height: 1; }
.ico-ka i { position: absolute; left: 8px; top: 21px; width: 28px; height: 2px; border-radius: 1px; background: var(--blue); opacity: .45; transform: rotate(-45deg); }
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.expect div { border: 1.5px solid var(--rule); border-radius: 20px; padding: 22px; background: var(--white); display: flex; flex-direction: column; gap: 8px; }
.expect strong { font-size: 18px; color: var(--navy); } .expect span { font-size: 15px; line-height: 1.6; color: var(--ink); }
.plans3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.plan3 { border-radius: 22px; padding: 24px; background: var(--white); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 8px; }
.plan3 strong { font-size: 18px; color: var(--navy); } .plan3 .price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); } .plan3 > span:last-child { font-size: 15px; line-height: 1.5; color: var(--soft); }
.plan3.full { background: var(--navy); border-color: var(--navy); } .plan3.full strong, .plan3.full .price { color: var(--white); } .plan3.full > span:last-child { color: #b9c6d8; }
.more-link { font-size: 16px; font-weight: 700; }

@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .waves i, .mic .ring { animation: none; } }

@media (max-width: 1080px) {
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools, .expect, .plans3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero { padding-block: 28px 44px; }
  .hero-grid, .step-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step.flip .step-grid > :first-child { order: 0; }
  .hero .toc { margin-top: 28px; }
  .hero .lead, .step-copy > p, .sec-head > p:not(.eyebrow) { font-size: 16px; }
  .step, .sec { padding-block: 48px; }
  .panel { padding: 18px; border-radius: 22px; }
  .tone-row .shape { display: none; } .tone-row .name { width: 58px; }
  .cards6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bubble { max-width: 300px; }
  .kinds, .tools, .expect, .plans3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stat strong { font-size: 28px; }
  .sec-head.centre { align-items: flex-start; text-align: left; }
  .hero-copy .btn, .centre .btn { width: 100%; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.centre { display: flex; justify-content: center; }

/* The footer (5 October 2026, the owner: "use /design to fixup the footer"). */
footer.site-foot { background: #13233a; color: #d6e0f2; margin-top: 0; }
footer.site-foot .wrap { display: flex; flex-direction: column; gap: 28px; padding-block: 48px 28px; min-height: 0; border-top: 0; align-items: stretch; }
footer.site-foot .foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site-foot .brand span { color: #fff; font-size: 20px; }
footer.site-foot .brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
footer.site-foot .foot-brand p { margin: 12px 0 0; display: block; max-width: 320px; font-size: 14px; line-height: 1.6; color: #d6e0f2; }
footer.site-foot nav { display: flex; flex-direction: column; gap: 9px; }
footer.site-foot nav h2 { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #9fb4d8; }
footer.site-foot nav a { color: #fff; text-decoration: none; font-size: 14px; }
footer.site-foot nav a:hover, footer.site-foot .foot-bottom a:hover { text-decoration: underline; }
footer.site-foot .foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #2a3f5f; font-size: 12px; color: #9fb4d8; }
footer.site-foot .foot-bottom a { color: #9fb4d8; text-decoration: none; }
@media (max-width: 820px) {
  footer.site-foot .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer.site-foot .foot-brand { grid-column: 1 / -1; }
  footer.site-foot .foot-bottom { flex-direction: column; }
}

/* Log in beside Try for free (12 October 2026): on the narrowest phones the wordmark goes, the logo stays. */
@media (max-width: 480px) { .bar .brand span { display: none; } }
/* Related guides (SEO round 2, 17 October 2026): the other two guides, and the homepage section this one belongs to. */
.related .wrap { padding-block: 56px; }
.related h2 { margin: 0 0 16px; font-size: 24px; }
.related ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related li { background: var(--white, #fff); border: 1px solid var(--rule, #dde4ee); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.related li a { font-weight: 800; color: var(--blue, #285cce); text-decoration: none; }
.related li span { font-size: 15px; color: var(--soft, #55667d); }
.related p { margin: 16px 0 0; font-size: 15px; color: var(--soft, #55667d); }
/* The "Also on Kruu Jaidee" link sits in its line, as on the tones page (the owner, 23 October 2026: it showed as a box). */
.related p a { color: var(--blue, #285cce); font-weight: 700; }
@media (max-width: 700px) { .related ul { grid-template-columns: minmax(0, 1fr); } }

/* A guide's FAQ (Thai for Chinese speakers, 25 October 2026), drawn as the tones page draws its own. */
.faq .faq-list { max-width: 820px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--ground, #f6f8fb); border: 1px solid var(--rule, #dde4ee); border-radius: 16px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-size: 18px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--soft, #55667d); }
.related ul:has(> li:nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .related ul:has(> li:nth-child(3)) { grid-template-columns: minmax(0, 1fr); } }
