/* ==========================================================================
   HearThai Academy landing · MEET PLOY (Codex R07, ported 2026-10-25). Loaded after site.css.
   Source: output/codex_design/outbox/pricing-membership-r01/ (read-only):
     - pricing-r06.css: the base rules the handover lists (§2): .ploy-section, .ploy-layout, .ploy-copy,
       .ploy-price-line, .existing-owner, .ploy-showcase, .showcase-top, .ploy-monogram, .example-label,
       .sample-audio, .ploy-capabilities, with their 1100 / 960 / 760 / 360 variants;
     - ploy-showcase-r07.css: the example panel, motion, reduced motion and print.
   Every selector is scoped to .ploy-section (no global resets, no :root changes). Codex's sizes, gaps and
   breakpoints are kept as written; fonts, colors and section spacing are the landing's tokens (site.css):
     navy stage #09243d -> --bg · text tiers -> --text / --text-2 / --text-3 · hairlines -> --edge / --edge-hover / --rule
     panel #123650 -> #0e2d45 -> --bg-inset -> --bg-raised · pale-blue accents (caret, progress, loading line) -> --link
     playing / pressed -> --action · section padding -> --sec-pad · panel -> capabilities gap -> --head-gap.
   Kept as Codex drew them (illustration, not UI color): the four color swatches, the clock's day/night cue,
   the recall "correct" green, the panel's material shadow and the two soft radial accents.
   Thai: HTA Thai (Leelawadee UI) 400, letter-spacing 0, Codex's explicit line heights (1.4-1.6, tone marks clear).
   Not imported: Codex's .skip:not(:focus) preview fix (the landing keeps its own skip link), the global
   svg/button/[hidden] resets (scoped below instead).
   ========================================================================== */

/* ---- landing config: html[data-ploy="off"] (assets/js/ploy-showcase.js) removes the section and its links ---- */
html[data-ploy="off"] .ploy-section,html[data-ploy="off"] [data-ploy-link]{display:none!important}

/* ---- scoped base (Codex's page-level rules, limited to this section) ---- */
.ploy-section{position:relative;overflow:clip;background:var(--bg);color:var(--text);font-family:var(--font)}
.ploy-section::before{content:"";pointer-events:none;position:absolute;right:-260px;top:0;width:680px;height:680px;background:radial-gradient(ellipse,#2870aa18,transparent 65%)}
.ploy-section h2,.ploy-section h3,.ploy-section p{margin:0}
.ploy-section h2,.ploy-section h3{font-weight:var(--w-heading);text-wrap:balance}
.ploy-section strong,.ploy-section b{font-weight:var(--w-medium)}
.ploy-section [hidden]{display:none!important}
.ploy-section svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ploy-section button{cursor:pointer}
.ploy-section button:disabled{cursor:default;opacity:.48}
.ploy-section [lang=th]{font-family:var(--font-th);font-weight:var(--w-th);letter-spacing:0;font-feature-settings:normal;line-height:var(--th-lh-title)}
.ploy-symbols{position:absolute;width:0;height:0;overflow:hidden}
/* the landing container (1400 + 2 x 24 gutter) in place of Codex's 1256 / 28 */
.ploy-wrap{width:100%;max-width:calc(var(--page-w) + var(--gutter) * 2);margin-inline:auto;padding-inline:var(--gutter)}

/* ---- copy column (pricing-r06.css) ---- */
.ploy-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding-top:var(--sec-pad);position:relative}
.ploy-copy .eyebrow{display:block;font-size:14px;line-height:20px;font-weight:var(--w-medium);letter-spacing:0;color:var(--text-2);margin-bottom:24px}
.ploy-copy>p{font-size:16px;line-height:26px;color:var(--text-2);max-width:40ch;margin-top:25px}
.ploy-copy h2{font-size:48px;line-height:52px;letter-spacing:-2.88px;max-width:15ch;color:var(--text)}
.ploy-price-line{display:flex;gap:20px;align-items:center;margin-top:32px;padding-top:24px;border-top:1px solid var(--rule);max-width:390px}
.ploy-price-line strong{font-size:24px;line-height:32px;font-weight:var(--w-heading);letter-spacing:-.96px;white-space:nowrap;color:var(--text)}
.ploy-price-line>span{font-size:12px;line-height:18px;color:var(--text-2)}
.ploy-copy .existing-owner{font-size:12px;line-height:18px;margin-top:18px;color:var(--text-2)}
/* data states (filled from GET /pricing by ploy-showcase.js): hidden by visibility so the copy column never changes size */
.ploy-price-line[data-state=pending]>*,.ploy-section [data-show=false]{visibility:hidden}
/* first paint: with the script on its way (html.ploy-js, set by the landing config line in the head), the section keeps
   its place but stays invisible until the demo has filled and measured itself with the final fonts (data-ploy-ready).
   An invisible box never counts as a layout shift, so a deep link to #ploy-section loads with CLS 0. Without
   JavaScript the class is never set and everything shows. */
.ploy-js .ploy-section:not([data-ploy-ready]),.ploy-js .ploy-section:not([data-ploy-ready]) *{visibility:hidden!important}

/* ---- the panel frame (pricing-r06.css + R07) ---- */
.ploy-showcase{border:1px solid var(--edge);border-radius:18px;color:var(--text)}
.showcase-top{display:flex;gap:9px;align-items:center;color:var(--text-2);font-size:11px;line-height:18px}
.ploy-monogram{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--edge-hover);border-radius:50%;font:var(--w-heading) 16px/20px var(--font);color:var(--text)}
.example-label{margin-left:auto;padding:1px 6px;border:1px solid var(--edge);border-radius:4px;font-size:10px;line-height:16px}
.ploy-section .sample-audio{position:relative;height:28px;width:28px;min-width:28px;border-radius:50%;border:1px solid var(--edge-hover);background:var(--hover-fill);color:var(--text);padding:7px;display:grid;place-items:center;transition:background .18s}
.ploy-section .sample-audio svg{width:13px;height:13px;stroke-width:1.2;fill:currentColor}
.ploy-section .sample-audio:hover{background:var(--bg-inset-2)}
.ploy-section .sample-audio.playing{background:var(--action);border-color:var(--action);color:var(--on-action)}
/* touch: a 44px hit area around the smaller desktop/tablet buttons (no visual change; the landing's playctl--sm pattern, C36) */
.ploy-section .sample-audio::before{content:"";position:absolute;inset:-8px;border-radius:50%}

/* ---- polish layer (A18): the hairline over the panel's own gradient; .gt keeps its ink margins; the now-playing bars in
   place of the play glyph while a recording plays (as on the ear test's play button) ---- */
.ploy-showcase.demo-showcase.hairline{border-color:transparent;background-image:linear-gradient(140deg,var(--bg-inset),var(--bg-raised) 68%),linear-gradient(180deg,var(--hl-top),var(--hl-bottom));background-origin:border-box;background-clip:padding-box,border-box}
.ploy-section .gt{margin-block:-.15em -.25em}
.ploy-section .sample-audio .npbars{position:absolute;inset:0;margin:auto;--npb-h:12px;--npb-c:var(--on-action)}
.ploy-section .sample-audio.playing svg{opacity:0}

/* ---- capabilities (pricing-r06.css) ---- */
.ploy-capabilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px;padding-top:var(--head-gap);padding-bottom:var(--sec-pad)}
.ploy-capabilities article{border-top:1px solid var(--rule);padding-top:18px;min-width:0}
.ploy-capabilities article>span{display:block;font:400 11px/18px var(--font-mono);color:var(--text-2);margin-bottom:12px}
.ploy-capabilities h3{font-size:20px;line-height:26px;letter-spacing:-.4px;margin-bottom:10px;color:var(--text)}
.ploy-capabilities p{font-size:14px;line-height:22px;color:var(--text-2);max-width:34ch}

/* ==========================================================================
   R07: a small, directed learning demonstration, not a simulated live chat (ploy-showcase-r07.css)
   ========================================================================== */
.ploy-showcase.demo-showcase{padding:28px 28px 0;position:relative;isolation:isolate;background:linear-gradient(140deg,var(--bg-inset),var(--bg-raised) 68%);box-shadow:0 24px 80px #00132124,inset 0 1px 0 #ffffff08;min-width:0;overflow:hidden}
.demo-showcase::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 100% 0,#599bcd12,transparent 58%)}
.demo-question{font-size:26px;line-height:34px;letter-spacing:-.9px;font-weight:var(--w-heading);color:var(--text);min-height:106px;margin-top:24px;padding-bottom:16px;max-width:27ch;text-wrap:pretty}
/* Codex's caret (2px, .9em, 3px after the text, blinking .75s), painted on the typed text's own box: padding and the
   matching negative margin cancel, so it takes no room; the untyped rest is laid out but invisible. Nothing moves. */
#demo-question-text{padding-right:5px;margin-right:-5px;background:linear-gradient(var(--link),var(--link)) no-repeat right center / 0 .9em}
.demo-showcase[data-phase=typing] #demo-question-text{background-size:2px .9em;animation:demo-caret .75s steps(1) infinite}
.demo-question-rest{visibility:hidden}
.demo-stage{position:relative;min-height:336px}
.demo-answer{visibility:hidden;opacity:0}
.demo-showcase[data-phase=ready] .demo-answer{visibility:visible;opacity:1;animation:demo-reveal .45s ease both}
.demo-showcase[data-phase=ready] #demo-body>*,.demo-showcase[data-phase=ready] .demo-outcome{animation:demo-reveal .55s .07s ease both}
.demo-tag{font:400 10px/16px var(--font-mono);text-transform:uppercase;letter-spacing:.07em;color:var(--text-2);display:block;margin-bottom:9px}
.demo-explanation{font-size:13px;line-height:21px;color:var(--text-2);margin-bottom:22px;max-width:46ch}
.demo-word{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.demo-word>[lang=th]{font-size:28px;line-height:1.5;color:var(--text)}
.demo-broken>div{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--edge);padding:14px 0}
.demo-broken strong{display:block;font-size:12px;line-height:19px;font-weight:400;color:var(--text)}
.demo-broken small{display:block;font-size:11px;line-height:18px;color:var(--text-2);margin-top:3px;max-width:24ch}
.demo-note{color:var(--text-2);font-size:11px;line-height:18px;margin-top:17px}
.demo-outcome{border-top:1px solid var(--edge);margin-top:21px;padding-top:16px;padding-bottom:24px;font-size:12px;line-height:20px;color:var(--text);max-width:none}
.demo-navigation{display:flex;align-items:center;gap:10px;border-top:1px solid var(--edge);padding:16px 0 19px}
.demo-navigator{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--edge-hover);background:transparent;color:var(--text);padding:8px;flex:none}
.demo-navigator:hover{background:var(--hover-fill);border-color:var(--text-3)}
.demo-navigator svg{width:16px;height:16px}
.demo-navigator:first-child svg{transform:rotate(180deg)}
.demo-position{flex:1;min-width:0}
.demo-position>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.demo-position strong{font-size:11px;line-height:18px;font-weight:400;color:var(--text)}
.demo-count{font:400 10px/18px var(--font-mono);color:var(--text-2)}
.demo-progress{height:1px;background:var(--edge);margin-top:6px;position:relative;overflow:hidden}
.demo-progress::after{content:"";display:block;height:1px;width:var(--demo-progress,25%);background:var(--link);transition:width .35s ease}
.demo-motion-control{background:none;border:0;padding:4px 0;color:var(--text-2);font-size:10px;line-height:18px;text-decoration:underline;text-underline-offset:4px;min-width:40px;text-align:right}
.demo-loading{position:absolute;inset:30px 0 auto;min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;text-align:center;color:var(--text-2)}
.demo-loading svg{width:132px;height:80px;stroke:var(--link);stroke-width:1;overflow:visible}
.demo-loading svg path{stroke-dasharray:110;stroke-dashoffset:110;animation:demo-link 1.05s ease-in-out infinite}
.demo-loading svg path:nth-child(2){animation-delay:.12s}
.demo-loading svg path:nth-child(3){animation-delay:.22s}
.demo-loading svg circle{fill:var(--link);stroke:none}
.demo-loading p{font-size:12px;line-height:20px;max-width:25ch}
.demo-loading small{font:400 9px/16px var(--font-mono);text-transform:uppercase;letter-spacing:.12em;color:var(--text-3)}
.demo-showcase[data-phase=idle] .demo-question{opacity:.65}
.demo-colors{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.demo-color{display:flex;align-items:center;gap:10px;border:1px solid var(--edge);border-radius:9px;padding:12px 10px;min-width:0;background:#ffffff02}
.color-pigment{display:block;width:26px;height:36px;border-radius:14px 14px 7px 7px;background:var(--swatch);box-shadow:inset 0 1px 2px #ffffff45,0 4px 10px #0014243d;transform:rotate(-6deg);flex:none}
.demo-color:nth-child(even) .color-pigment{transform:rotate(6deg)}
.demo-color>div{flex:1;min-width:0}
.demo-color strong{display:block;color:var(--text);font-size:10px;line-height:16px;font-weight:400}
.demo-color [lang=th]{font-size:20px;line-height:1.6;color:var(--text)}
.ploy-section .demo-color .sample-audio{width:28px;height:28px;min-width:28px;padding:7px}
.ploy-section .demo-color .sample-audio svg{width:12px;height:12px}
.demo-text-action{padding:0;background:none;border:0;color:var(--text);font-size:12px;line-height:22px;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:left;width:100%}
.demo-text-action>span{font-size:18px;color:var(--link)}
.demo-text-action{position:relative}
.demo-text-action::before{content:"";position:absolute;inset:-11px 0}   /* a 44px hit area around Codex's 22px text action, no visual change (C36) */
.demo-text-action:hover{text-decoration:underline;text-underline-offset:4px}
.demo-recall{border-top:1px solid var(--edge);margin-top:18px;padding-top:14px}
.recall-question{display:flex;gap:14px;align-items:center}
.recall-swatch{width:34px;height:45px;border-radius:20px 20px 9px 9px;background:#64aa85;box-shadow:inset 0 1px 2px #ffffff45;flex:none}
.recall-question strong{font-size:12px;line-height:20px;font-weight:400}
.recall-options{display:flex;gap:8px;margin-top:9px}
.recall-options button{border:1px solid var(--edge-hover);border-radius:6px;background:#ffffff04;color:var(--text);font-size:20px;line-height:28px;padding:6px 17px;min-height:44px}
.recall-options button:hover{background:var(--hover-fill)}
.recall-options button[aria-pressed=true]{background:#72b59725;border-color:#9ed4b5;opacity:1}
.recall-feedback{font-size:11px;line-height:19px;color:var(--text-2);margin-top:12px}
.is-correct+.recall-feedback{color:#bee8cf}
.demo-time{display:flex;align-items:center;gap:28px;padding:7px 0 15px}
.demo-clock{width:150px;height:150px;position:relative;border-radius:50%;background:radial-gradient(circle at 40% 35%,#244c68,#12334e 68%);border:1px solid var(--edge-hover);box-shadow:inset 0 0 0 7px #b5dcf706,0 12px 26px #001a2c38;flex:none}
.clock-orbit{position:absolute;inset:14px;border-radius:50%;border:1px dashed var(--edge)}
.clock-twelve{position:absolute;top:17px;left:0;right:0;text-align:center;font:400 11px/16px var(--font-mono);color:var(--text)}
.clock-hand{height:37px;width:2px;background:#caeaff;position:absolute;bottom:50%;left:calc(50% - 1px);border-radius:4px;box-shadow:0 0 9px #a3cfff50}
.clock-pin{position:absolute;width:6px;height:6px;border-radius:50%;background:#c9e8ff;top:calc(50% - 3px);left:calc(50% - 3px)}
.clock-day{position:absolute;left:0;right:0;text-align:center;bottom:27px;color:var(--text-2);font-size:10px;line-height:16px}
.clock-symbol{position:absolute;right:0;top:-1px;border:1px solid #e7cf8d72;border-radius:50%;background:#314754;color:#f1d38e;width:33px;height:33px;text-align:center;font-size:22px;line-height:30px}
.demo-time-words{flex:1;min-width:0}
.demo-time-words>div+div{border-top:1px solid var(--edge);margin-top:16px;padding-top:16px}
.time-label{display:block;color:var(--text-2);font:400 10px/18px var(--font-mono);margin-bottom:6px}
.demo-teaching-note{border-left:1px solid color-mix(in srgb,var(--link) 48%,transparent);padding-left:12px;font-size:12px;line-height:21px;color:var(--text-2);margin-top:17px}
.demo-teaching-note [lang=th]{font-size:17px}
.demo-sentence{border:1px solid var(--edge);border-radius:12px;padding:20px 16px 15px;position:relative;background:#ffffff02}
.sentence-path{display:flex;justify-content:space-around;position:relative;align-items:center;height:14px;margin-bottom:12px}
.sentence-path::before{content:"";position:absolute;height:1px;background:linear-gradient(90deg,color-mix(in srgb,var(--link) 14%,transparent),color-mix(in srgb,var(--link) 55%,transparent),color-mix(in srgb,var(--link) 14%,transparent));left:16%;right:16%}
.sentence-path span{width:5px;height:5px;border:1px solid var(--link);background:var(--bg-inset);border-radius:50%;z-index:1}
.sentence-parts{display:grid;grid-template-columns:1fr .75fr 1.3fr;gap:10px}
.sentence-parts>div{min-width:0;text-align:center}
.part-label{display:block;font-size:10px;line-height:17px;color:var(--text-2);margin-bottom:8px}
.sentence-parts .demo-word{flex-direction:column;gap:7px}
.sentence-parts .demo-word>[lang=th]{font-size:27px}
.sentence-translation{font-size:13px;line-height:21px;color:var(--text);text-align:center;border-top:1px solid var(--edge);margin-top:18px;padding-top:15px}
.demo-sentence .demo-text-action{margin-top:15px;font-size:11px}
@keyframes demo-caret{50%{background-size:0 .9em}}
@keyframes demo-link{0%{stroke-dashoffset:110;opacity:.2}65%,100%{stroke-dashoffset:0;opacity:1}}
@keyframes demo-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.demo-showcase[data-paused=true] *{animation-play-state:paused!important}
.demo-clock{transition:background .5s,border-color .5s}
.demo-clock.is-night{background:radial-gradient(circle at 50% 30%,#27466b,#102640 72%);border-color:#a6b9e980}
.demo-clock.is-night .clock-symbol{background:#233957;border-color:#b3bfe680;color:#d2e4ff}
.demo-answer{display:flex;flex-direction:column;min-height:inherit}
.demo-outcome{margin-top:auto}
.demo-note{margin-bottom:21px}

/* ==========================================================================
   responsive: Codex's own breakpoints (1100 / 960 / 760 / 360), r06 base variants then R07, in Codex's cascade order
   ========================================================================== */
@media (min-width:1101px){
  .ploy-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:64px}
  .demo-stage{min-height:340px}
  .demo-question{min-height:102px}
}
@media (max-width:1100px){
  .ploy-layout{gap:46px}
  .ploy-capabilities{gap:28px}
  .ploy-copy h2{font-size:40px;line-height:46px;letter-spacing:-2px}
  .ploy-section .sample-audio{width:26px;min-width:26px;height:26px;padding:6px}
}
@media (max-width:960px){
  .ploy-copy h2{font-size:var(--h2-fs);line-height:var(--h2-lh);letter-spacing:var(--h2-ls)}   /* = Codex 32/40/-1.28 */
  .ploy-copy>p{font-size:15px;line-height:25px}
  .ploy-price-line{align-items:flex-start;flex-direction:column;gap:7px}
}
@media (min-width:761px) and (max-width:1100px){
  .ploy-layout{gap:32px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .ploy-showcase.demo-showcase{padding:22px 20px 0}
  .demo-question{font-size:23px;line-height:31px;min-height:118px}
  .demo-colors{gap:7px}
  .demo-color{gap:7px;padding:10px 7px}
  .color-pigment{width:16px;height:29px}
  .demo-color [lang=th]{font-size:18px}
  .ploy-section .demo-color .sample-audio{width:26px;height:26px;min-width:26px;padding:6px}
  .demo-time{gap:14px;align-items:center}
  .demo-clock{width:100px;height:100px}
  .clock-hand{height:23px}
  .clock-twelve{top:12px;font-size:9px}
  .clock-day{bottom:14px;font-size:9px}
  .clock-symbol{width:27px;height:27px;font-size:19px;line-height:25px}
  .demo-time .demo-word>[lang=th]{font-size:23px}
  .demo-time .demo-word{gap:5px}
  .demo-broken small{max-width:19ch}
  .demo-broken .demo-word>[lang=th]{font-size:25px}
  .demo-broken>div{gap:10px}
  .demo-stage{min-height:360px}
}
@media (max-width:760px){
  .ploy-layout{grid-template-columns:1fr;gap:36px}
  .ploy-copy .eyebrow{font-size:12px;line-height:18px;margin-bottom:17px}
  .ploy-copy h2{font-size:32px;line-height:39px;letter-spacing:-1.28px;max-width:16ch}
  .ploy-copy>p{font-size:15px;line-height:25px;margin-top:21px;max-width:38ch}
  .ploy-price-line{flex-direction:row;gap:17px;align-items:center;max-width:none;margin-top:25px;padding-top:21px}
  .ploy-price-line strong{font-size:22px;line-height:30px;letter-spacing:-.88px}
  .ploy-price-line>span{font-size:11px;line-height:18px}
  .ploy-copy .existing-owner{font-size:11px;line-height:18px}
  .ploy-showcase{border-radius:15px}
  .ploy-capabilities{grid-template-columns:1fr;gap:20px}
  .ploy-capabilities article{display:grid;grid-template-columns:28px 1fr;gap:0 10px;padding-top:16px}
  .ploy-capabilities article>span{grid-row:1 / 3;margin:1px 0 0}
  .ploy-capabilities h3{font-size:18px;line-height:24px;letter-spacing:-.36px;margin-bottom:8px}
  .ploy-capabilities p{grid-column:2;font-size:13px;line-height:22px;max-width:none}
  /* R07 phone composition */
  .ploy-showcase.demo-showcase{padding:23px 22px 0}
  .demo-question{font-size:25px;line-height:33px;min-height:116px;margin-top:23px;letter-spacing:-.85px}
  .demo-stage{min-height:365px}
  .demo-broken>div{padding:16px 0;gap:12px}
  .demo-broken small{max-width:22ch}
  .demo-broken .demo-word{gap:9px}
  .demo-broken .demo-word>[lang=th]{font-size:28px}
  .demo-explanation{font-size:13px;line-height:21px}
  .ploy-section .demo-showcase .sample-audio{width:40px;height:40px;min-width:40px;padding:11px}
  .ploy-section .demo-showcase .sample-audio svg{width:16px;height:16px}
  .ploy-section .sample-audio::before{inset:-2px}
  .ploy-section .sample-audio .npbars{--npb-h:16px}
  .demo-colors{grid-template-columns:1fr 1fr;gap:9px}
  .demo-color{display:grid;grid-template-columns:1fr 40px;position:relative;padding:13px 10px;gap:10px 4px}
  .color-pigment{width:23px;height:32px;grid-column:1 / 3}
  .demo-color>div{grid-column:1}
  .demo-color strong{font-size:11px}
  .demo-color [lang=th]{font-size:22px}
  .ploy-section .demo-color .sample-audio{grid-column:2;align-self:center}
  .demo-time{gap:16px}
  .demo-clock{width:115px;height:115px}
  .clock-hand{height:27px}
  .clock-twelve{top:13px}
  .clock-day{bottom:18px}
  .clock-symbol{width:29px;height:29px;font-size:20px;line-height:27px}
  .demo-time .demo-word{gap:5px}
  .demo-time .demo-word>[lang=th]{font-size:25px}
  .time-label{font-size:9px}
  .demo-sentence{padding:18px 12px 14px}
  .sentence-parts{gap:6px;grid-template-columns:1fr .8fr 1.3fr}
  .sentence-parts .demo-word>[lang=th]{font-size:26px}
  .demo-navigation{gap:11px;padding:16px 0 18px}
  .demo-navigator{width:44px;height:44px;padding:12px}
  .demo-position strong{font-size:11px}
  .demo-count{font-size:9px}
  .demo-motion-control{min-width:42px;min-height:44px;font-size:11px}
  .demo-outcome{padding-bottom:22px}
  .demo-tag{font-size:9px;letter-spacing:.055em}
  .demo-teaching-note{font-size:12px}
  .recall-options button{min-width:65px}
}
@media (max-width:360px){
  .ploy-price-line{gap:12px}
  .ploy-price-line strong{font-size:20px;line-height:28px}
  .showcase-top{font-size:10px;gap:6px}
  .ploy-showcase.demo-showcase{padding:21px 17px 0}
  .demo-question{font-size:23px;line-height:31px;min-height:122px}
  .demo-stage{min-height:395px}
  .demo-word>[lang=th]{font-size:25px}
  .demo-broken small{max-width:17ch}
  .demo-broken .demo-word{gap:5px}
  .demo-broken .demo-word>[lang=th]{font-size:25px}
  .demo-broken strong{font-size:11px}
  .ploy-section .demo-showcase .sample-audio{width:38px;height:38px;min-width:38px;padding:10px}
  .ploy-section .sample-audio::before{inset:-3px}
  .demo-color{grid-template-columns:1fr 38px;padding:11px 8px}
  .demo-color [lang=th]{font-size:20px}
  .demo-time{gap:12px}
  .demo-clock{width:82px;height:82px}
  .clock-orbit{inset:9px}
  .clock-twelve{top:8px;font-size:9px}
  .clock-hand{height:19px}
  .clock-day{bottom:10px;font-size:8px}
  .clock-symbol{width:23px;height:23px;line-height:21px;font-size:17px}
  .demo-time .demo-word>[lang=th]{font-size:23px}
  .demo-navigation{gap:8px}
  .demo-position>div{display:block}
  .demo-count{display:block;line-height:14px}
  .demo-position strong{font-size:10px;line-height:16px}
  .demo-progress{margin-top:4px}
  .demo-motion-control{font-size:10px;min-width:38px}
  .sentence-parts .demo-word>[lang=th]{font-size:24px}
  .part-label{font-size:9px}
  .demo-sentence{padding-inline:9px}
  .demo-sentence .demo-text-action{font-size:10px}
}
@media (prefers-reduced-motion:reduce){
  .ploy-section *,.ploy-section *::before,.ploy-section *::after{animation:none!important;transition:none!important}
  #demo-question-text{background-size:0 .9em!important}
}
@media print{
  .ploy-section{background:#fff;color:#0a2540}
  .ploy-section::before,.demo-showcase::before{display:none}
  .ploy-section *{color:#0a2540!important}
  .ploy-layout,.ploy-capabilities{padding-top:32px;padding-bottom:32px}
  .ploy-showcase,.demo-showcase{overflow:visible;box-shadow:none!important;background:#fff!important;border-color:#b9cad9;break-inside:avoid}
  .demo-navigation,.demo-loading,.ploy-section .sample-audio{display:none!important}
  .demo-answer{visibility:visible;opacity:1}
  .demo-stage,.demo-question{min-height:0}
  .color-pigment{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .demo-clock{background:#edf4fa!important}
  .ploy-section .gt{-webkit-text-fill-color:currentColor;background:none}
}
