/*!
 * Sunyang Tech — site styles (Visual System v3.3).
 * Page markup keeps the canvas inline styles (desktop values); this file holds:
 *   1. fonts (self-hosted)            2. base + shared components
 *   3. form, consent, map             4. responsive blocks (@media ≤768px, ≤374px) — copied from the canvas
 *   5. CJK typography (§10) via :lang()
 * Colours: navy #0A1A3F · Sunyang Blue #0043EC · ink #0F172A · slate #475569 · line #E2E8F0
 */

/* 1. FONTS ------------------------------------------------------------- */
@font-face{font-family:'IBM Plex Sans';src:url(../fonts/ibm-plex-sans-var.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url(../fonts/ibm-plex-mono-400.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url(../fonts/ibm-plex-mono-500.woff2) format('woff2');font-weight:500 700;font-style:normal;font-display:swap}
@font-face{font-family:'Noto Sans SC';src:url(../fonts/noto-sans-sc-var.woff2) format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:'Noto Sans TC';src:url(../fonts/noto-sans-tc-var.woff2) format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:'Noto Sans JP';src:url(../fonts/noto-sans-jp-var.woff2) format('woff2');font-weight:400 600;font-display:swap}
@font-face{font-family:'Noto Sans KR';src:url(../fonts/noto-sans-kr-var.woff2) format('woff2');font-weight:400 600;font-display:swap}

:root{
  --sans:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
}
/* Each language gets IBM Plex first (Latin, digits) and its Noto CJK face second (§10) */
:lang(zh-Hans){--sans:'IBM Plex Sans','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif;--mono:'IBM Plex Mono','Noto Sans SC',monospace}
:lang(zh-Hant){--sans:'IBM Plex Sans','Noto Sans TC','PingFang TC','Microsoft JhengHei',sans-serif;--mono:'IBM Plex Mono','Noto Sans TC',monospace}
:lang(ja){--sans:'IBM Plex Sans','Noto Sans JP','Hiragino Sans','Yu Gothic UI','Meiryo',sans-serif;--mono:'IBM Plex Mono','Noto Sans JP',monospace}
:lang(ko){--sans:'IBM Plex Sans','Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif;--mono:'IBM Plex Mono','Noto Sans KR',monospace}
:lang(en),:lang(ms){--sans:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
body,[lang]{font-family:var(--sans)}
.mono{font-family:var(--mono)}

/* 2. BASE ---------------------------------------------------------------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,::before,::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
body{margin:0;color:#0F172A;background:#FFFFFF;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,svg{max-width:100%}
a{color:#0043EC}a:hover{color:#0036BD}
main:focus{outline:none}
[hidden]{display:none!important}
:focus-visible{outline:2px solid #0043EC;outline-offset:2px}
.grid-bg :focus-visible,.ft :focus-visible,section[style*="#0043EC; color: #FFFFFF"] :focus-visible{outline-color:#FFFFFF}
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:#0A1A3F;color:#FFFFFF;padding:10px 16px;border-radius:4px;font-weight:600;text-decoration:none}
.skip-link:focus{top:12px;color:#FFFFFF}
[id]{scroll-margin-top:16px}

.ph{background-color:#EEF2F8;background-image:linear-gradient(#DDE4EF 1px,transparent 1px),linear-gradient(90deg,#DDE4EF 1px,transparent 1px);background-size:24px 24px}
.ph-dark{background-color:#0F2350;background-image:linear-gradient(rgba(143,176,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(143,176,255,.12) 1px,transparent 1px);background-size:24px 24px}
.grid-bg{background-image:linear-gradient(rgba(143,176,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(143,176,255,.07) 1px,transparent 1px);background-size:48px 48px}
.card-link{transition:border-color .15s}
.card-link:hover,.nf-card:hover{border-color:#0043EC!important}
.ft a:hover{color:#FFFFFF!important}
summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}
details[open] .chev{transform:rotate(45deg)}

/* Header */
.hd-m,.hd-drawer{display:none}
.hd-lang button:hover{color:#0043EC}
.hd-lang li a:hover,#hd-mlang li a:hover{background:#F5F7FA}
.hd-burger .ic-close{display:none}
.hd-burger[aria-expanded="true"] .ic-close{display:block}
.hd-burger[aria-expanded="true"] .ic-open{display:none}
[data-dropdown-btn][aria-expanded="true"] .chev{transform:rotate(180deg)}

/* Logo slots: the client's original files are used as-is (never redrawn) */
.logo-missing{text-decoration:none;display:inline-flex;align-items:center;padding:0 12px;border:1px dashed #C7D0DC;border-radius:4px;font-weight:600;font-size:16px;color:#0A1A3F;white-space:nowrap;box-sizing:border-box}
.client-missing{display:inline-flex;align-items:center;font-weight:600;font-size:15px;color:#334155;letter-spacing:.02em}

/* Carousel */
.hero-car [data-car-play] .ic-play{display:none}
.hero-car.is-paused [data-car-play] .ic-play{display:block}
.hero-car.is-paused [data-car-play] .ic-pause{display:none}
.hero-car button:hover{border-color:#8FB0FF!important}

/* 3. FORM ---------------------------------------------------------------- */
.fld{height:48px;border:1px solid #C7D0DC;border-radius:4px;padding:0 14px;font-family:inherit;font-size:15px;color:#0F172A;background:#FFFFFF;width:100%;box-sizing:border-box}
.fld:focus{outline:2px solid #0043EC;outline-offset:1px;border-color:#0043EC}
textarea.fld{height:140px;padding:12px 14px;resize:vertical;line-height:1.5}
select.fld{appearance:none;-webkit-appearance:none;padding-right:40px;background:#FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center}
.fld[aria-invalid="true"],.ts-wrapper.is-invalid .ts-control{border-color:#B42318!important}
.fld-err{font-size:13px;line-height:1.4;color:#B42318}
.form-alert{border-left:3px solid #B42318;background:#FEF3F2;color:#7A271A;padding:12px 16px;border-radius:4px;font-size:15px;line-height:1.5}
.hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.submit:hover{background:#0036BD!important}
.submit[disabled]{opacity:.75;cursor:progress!important}
.spin{width:16px;height:16px;border:2px solid rgba(255,255,255,.45);border-top-color:#FFFFFF;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Custom file button (labelled per language — the native "Choose File" text cannot be translated) */
.file-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;position:relative}
.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.file-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid #C7D0DC;border-radius:4px;background:#FFFFFF;font-size:15px;font-weight:500;color:#0F172A;cursor:pointer;box-sizing:border-box}
.file-btn:hover{border-color:#0043EC;color:#0043EC}
.file-input:focus-visible+.file-btn{outline:2px solid #0043EC;outline-offset:2px}
.file-btn .bi{font-size:16px;color:#0043EC}
.file-name{font-size:14px;color:#475569;min-width:0;overflow-wrap:anywhere}
.file-name.has-file{color:#0F172A;font-weight:500}
.file-clear{width:44px;height:44px;border:0;background:transparent;color:#475569;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}
.file-clear:hover{color:#B42318;background:#F5F7FA}

/* Tom Select, styled like .fld (the wrapper inherits the select's .fld class: neutralise it) */
.ts-wrapper.fld{height:auto;padding:0;border:0;background:none;outline:0}
.ts-wrapper.single .ts-control,.ts-wrapper .ts-control{min-height:48px;border:1px solid #C7D0DC;border-radius:4px;padding:0 40px 0 14px;font-family:inherit;font-size:15px;color:#0F172A;background:#FFFFFF;box-shadow:none;display:flex;align-items:center}
.ts-wrapper.single .ts-control::after{border:0;width:14px;height:14px;right:14px;margin-top:-7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2.2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center}
.ts-wrapper.single.dropdown-active .ts-control::after{transform:rotate(180deg)}
.ts-wrapper.focus .ts-control{outline:2px solid #0043EC;outline-offset:1px;border-color:#0043EC}
.ts-wrapper .ts-control input{font-size:15px}
.ts-dropdown{border:1px solid #E2E8F0;border-radius:4px;box-shadow:0 12px 28px rgba(10,26,63,.16);margin-top:6px;font-size:15px;color:#0F172A;z-index:40}
.ts-dropdown .option{min-height:44px;display:flex;align-items:center;padding:0 14px}
.ts-dropdown .active{background:#EAF0FE;color:#0043EC}
.ts-dropdown .selected{font-weight:600}
.ts-dropdown-content{max-height:none!important}

/* Map consent */
.map-consent{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;padding-top:12px;font-size:13px;line-height:1.5;color:#475569}
.map-consent button{min-height:44px;padding:0 16px;border:1px solid #C7D0DC;border-radius:4px;background:#FFFFFF;font-family:inherit;font-size:14px;font-weight:600;color:#0043EC;cursor:pointer}
.map-consent button:hover{border-color:#0043EC}

/* Cookie banner */
.cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:100;display:flex;justify-content:center;pointer-events:none}
.cookie-in{pointer-events:auto;max-width:880px;width:100%;box-sizing:border-box;background:#0A1A3F;color:#C7D0DC;border:1px solid rgba(143,176,255,.25);border-radius:4px;box-shadow:0 16px 40px rgba(10,26,63,.35);padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px}
.cookie-text{flex:1 1 380px;margin:0;font-size:14px;line-height:1.6}
.cookie-text a{color:#FFFFFF}
.cookie-btns{display:flex;flex-wrap:wrap;gap:10px}
.cookie-btn{min-height:44px;padding:0 18px;border:1px solid #0043EC;border-radius:4px;background:#0043EC;color:#FFFFFF;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}
.cookie-btn--ghost{background:transparent;border-color:rgba(255,255,255,.4)}
.cookie-btn:hover{border-color:#FFFFFF}

/* Privacy body */
.pp h2{margin:0;font-size:22px;line-height:1.3;font-weight:600;scroll-margin-top:24px}
.pp p,.pp li{font-size:16px;line-height:1.7;color:#334155}
.pp p{margin:0}
.pp ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.pp ul.pp-contact{list-style:none;padding-left:0}
.pp section{display:flex;flex-direction:column;gap:14px;padding:32px 0;border-top:1px solid #E2E8F0}
.toc a:hover{color:#0043EC!important}

/* 4. RESPONSIVE — one breakpoint 768px (+ ≤374px for the header). Values from the canvas @media blocks. */
@media (max-width:768px){
  /* Header */
  .hd-in{padding:10px 20px!important;gap:12px!important}
  .hd-logo img{height:40px!important;max-width:100%;object-fit:contain;object-position:left center}
  .hd-logo .logo-missing{height:40px!important;font-size:14px}
  .hd-nav{display:none!important}
  .hd-m{display:flex;flex:0 0 auto}
  .hd-drawer{display:block}
  .hd-logo{flex:0 1 auto!important;min-width:0}

  /* Footer */
  .ft-in{padding:56px 20px 32px!important;gap:36px!important}
  .ft-cols{gap:32px!important}
  .ft-cols>div{flex:1 1 100%!important}
  .ft-col{gap:0!important}
  .ft-col>a{min-height:44px;display:flex;align-items:center}
  .ft-col>.ft-h{margin-bottom:6px}
  .ft-col>span{padding-bottom:6px}
  .ft-bottom{flex-direction:column}
  .ft-legal a{min-height:44px;display:inline-flex;align-items:center}
  .ft-logo{max-width:100%;box-sizing:border-box}
  .ft-logo img{max-width:100%;object-fit:contain;object-position:left center}

  /* Home · About · Capability pages (shared template) */
  :is(.t-home,.t-about,.t-service) section>div[style*="max-width: 1200px"]{padding-left:20px!important;padding-right:20px!important;padding-top:56px!important;padding-bottom:56px!important}
  :is(.t-home,.t-about,.t-service) section>div[style*="gap: 64px"],:is(.t-home,.t-about,.t-service) section>div[style*="gap: 56px"]{gap:40px!important}
  :is(.t-home,.t-about,.t-service) section>div[style*="gap: 48px"]{gap:32px!important}
  :is(.t-home,.t-about,.t-service,.t-build,.t-contact,.t-notfound,.t-privacy) h1{font-size:34px!important;line-height:1.12!important}
  :is(.t-home,.t-about,.t-service,.t-build) h2[style*="font-size: 3"],:is(.t-home,.t-about,.t-service,.t-build) h2[style*="font-size: 4"]{font-size:27px!important;line-height:1.2!important}
  :is(.t-home,.t-about,.t-service) h3{font-size:19px!important}
  :is(.t-home,.t-about,.t-service,.t-build) section p[style*="font-size: 1"]{font-size:16px!important}
  :is(.t-home,.t-about,.t-service,.t-build,.t-contact) section p[style*="font-size: 19px"]{font-size:17px!important}
  :is(.t-home,.t-about,.t-service,.t-build) section span[style*="font-size: 15px; line-height"]{font-size:16px!important}
  .t-home section [style*="padding: 40px"],.t-about section [style*="padding: 40px"]{padding:24px!important}
  .t-home section a[style*="padding: 32px"]{padding:24px!important}
  .t-service section div[style*="padding: 32px"]{padding:24px!important}
  :is(.t-home,.t-about,.t-service,.t-build) section a[style*="padding: 16px 28px"],:is(.t-home,.t-about,.t-service) section a[style*="padding: 14px 24px"]{width:100%;justify-content:center;min-height:52px!important;box-sizing:border-box}
  .steps{flex-direction:column!important;flex-wrap:nowrap!important;border-top:0!important;border-left:2px solid #0043EC!important;margin-left:4px!important}
  .steps>li{flex:0 0 auto!important;padding:0 0 28px 22px!important;position:relative}
  .steps>li:last-child{padding-bottom:0!important}
  .steps>li::before{content:"";position:absolute;left:-6px;top:3px;width:10px;height:10px;background:#0043EC}
  .pg section>div.tight{padding-top:32px!important;padding-bottom:32px!important}
  .trust{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px!important}
  .trust [style*="font-size: 32px"]{font-size:26px!important}
  .clients{flex-direction:column!important;align-items:stretch!important;gap:20px!important;text-align:center}
  .clients>div{flex:0 0 auto!important}
  .logos{justify-content:center!important;gap:20px 28px!important}
  .logos img,.logos .client-missing{height:30px!important}
  .logos img[alt="Western Digital"],.logos img[alt="Micron"]{height:24px!important}
  .logos img[alt="Bruker"]{height:38px!important}
  .logos img[alt="STMicroelectronics"]{height:36px!important}
  #projects article>.ph-dark{aspect-ratio:16/9!important}
  /* About */
  .pg section>div.photo{padding-top:24px!important;padding-bottom:0!important}
  .photo .ph{aspect-ratio:4/3!important}
  /* Capability pages */
  .hscroll{flex-wrap:nowrap!important;overflow-x:auto;gap:28px!important;padding:0 20px!important;white-space:nowrap;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}
  .hscroll::-webkit-scrollbar{display:none}
  .hscroll>a{flex:0 0 auto}
  .incl{grid-template-columns:minmax(0,1fr)!important}
  .incl>li:nth-last-child(2){border-bottom:0!important}
  .stages>li{flex-direction:column!important;flex-wrap:nowrap!important;gap:6px!important;padding:20px 0!important}
  .stages>li>span{flex:0 0 auto!important}
  .pg summary{min-height:44px!important;align-items:center;font-size:17px!important}

  /* What we build */
  .t-build section>div[style*="max-width: 1200px"]{padding-left:20px!important;padding-right:20px!important;padding-top:56px!important;padding-bottom:56px!important}
  .t-build section>div[style*="gap: 64px"],.t-build section>div[style*="gap: 56px"],.t-build section>div[style*="gap: 48px"]{gap:32px!important}
  .t-build section li[style*="font-size: 15px"]{font-size:16px!important}
  .t-build [style*="flex: 0 1 380px"]{flex:1 1 100%!important;padding:20px!important}
  .t-build section[id^="cat-"]>div>div:has(.ph-dark){order:-1}

  /* Contact */
  .t-contact section>div[style*="max-width: 1200px"]{padding-left:20px!important;padding-right:20px!important;padding-top:48px!important;padding-bottom:56px!important}
  .t-contact section>div[style*="gap: 56px"]{gap:40px!important}
  .fgrid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  .fld,.ts-wrapper .ts-control,.ts-wrapper .ts-control input{font-size:16px!important}
  .pg form .submit{width:100%;justify-content:center;min-height:52px!important}
  .pg form>div:last-child{flex-direction:column;align-items:stretch!important}
  .pg aside>div[style*="padding: 32px"]{padding:24px!important}

  /* Thank-you */
  .t-thanks section>div[style*="max-width: 1200px"]{padding:48px 20px 56px!important;gap:40px!important}
  .t-thanks h1{font-size:30px!important;line-height:1.15!important}
  .pg .lead{font-size:17px!important}
  .pg .btns a{width:100%;justify-content:center;min-height:52px!important;box-sizing:border-box}
  .t-thanks aside>div{padding:24px!important}
  .next{border-top:0!important;border-left:2px solid #0043EC!important;margin-left:4px!important;flex-direction:column!important}
  .next>li{padding:0 0 24px 22px!important;position:relative}
  .next>li:last-child{padding-bottom:0!important}
  .next>li::before{content:"";position:absolute;left:-6px;top:3px;width:10px;height:10px;background:#0043EC}

  /* 404 */
  .t-notfound section>div[style*="max-width: 1200px"]{padding:56px 20px!important;gap:40px!important}
  .pg .code{font-size:72px!important}
  .pg .nf-grid{grid-template-columns:minmax(0,1fr)!important}

  /* Privacy */
  .pg .wrap{padding-left:20px!important;padding-right:20px!important}
  .pg .hero{padding-top:48px!important;padding-bottom:40px!important}
  .pg .body{padding-top:16px!important;padding-bottom:56px!important;gap:24px!important}
  .pg .toc{position:static!important}
  .pg .toc ol{display:none!important}
  .pp h2{font-size:20px}
  .pp section{padding:28px 0}

  /* Cookie banner */
  .cookie{left:12px;right:12px;bottom:12px}
  .cookie-in{padding:16px}
  .cookie-btns{width:100%}
  .cookie-btn{flex:1 1 0}
}
@media (max-width:374px){
  .hd-in{padding:10px 16px!important;gap:10px!important}
  .hd-m a{padding:0 10px!important;font-size:13px!important}
}

/* 5. CJK TYPOGRAPHY (Visual System §10) — zh-Hans · zh-Hant · ja · ko ---------- */
.pg:is(:lang(zh),:lang(ja),:lang(ko)){line-break:strict;word-break:normal;overflow-wrap:anywhere}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) [style*="text-transform"]{text-transform:none!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) [style*="letter-spacing: -"]{letter-spacing:0!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) [style*="letter-spacing: 0.12em"]{letter-spacing:0.04em!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) :is(h1,h2,h3){text-wrap:balance;word-break:keep-all}
.pg:lang(ja) :is(h1,h2,h3){word-break:auto-phrase}
.pg:lang(ko),.pg:lang(ko) *{word-break:keep-all}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) :is(p,li,span){text-wrap:pretty}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style]{line-height:1.25!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style]{line-height:1.3!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h3[style]{line-height:1.4!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style*="font-size: 60px"]{font-size:50px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style*="font-size: 56px"]{font-size:48px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style*="font-size: 54px"]{font-size:46px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style*="font-size: 52px"]{font-size:44px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style*="font-size: 48px"]{font-size:40px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 42px"]{font-size:36px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 40px"]{font-size:34px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 36px"]{font-size:31px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 34px"]{font-size:30px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 32px"]{font-size:28px!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) :is(p[style*="line-height"],span[style*="line-height: 1.5"],span[style*="line-height: 1.6"],li[style*="line-height"]){line-height:1.75!important}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) textarea.fld::placeholder{line-height:1.75}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) aside div[style*="border-top"]{word-break:keep-all;overflow-wrap:anywhere}
.pg:is(:lang(zh),:lang(ja),:lang(ko)) .pp :is(p,li){line-height:1.85}
/* Header & footer */
.hd:is(:lang(zh),:lang(ja),:lang(ko)) [style*="letter-spacing"],.hd:is(:lang(zh),:lang(ja),:lang(ko)) .mono{letter-spacing:0.02em!important}
.hd:is(:lang(zh),:lang(ja),:lang(ko)) [style*="text-transform"]{text-transform:none!important}
.hd:lang(ko),.ft:lang(ko){word-break:keep-all}
.ft:is(:lang(zh),:lang(ja),:lang(ko)) [style*="letter-spacing"]{letter-spacing:0.04em!important}
.ft:is(:lang(zh),:lang(ja),:lang(ko)) [style*="text-transform"]{text-transform:none!important}
.ft:is(:lang(zh),:lang(ja),:lang(ko)) p{line-height:1.75!important}
.cookie:is(:lang(zh),:lang(ja),:lang(ko)) .cookie-text{line-height:1.75;line-break:strict}
.cookie:lang(ko){word-break:keep-all}
@media (max-width:768px){
  .pg:is(:lang(zh),:lang(ja),:lang(ko)) h1,.pg:is(:lang(zh),:lang(ja),:lang(ko)) h1[style]{font-size:30px!important}
  .pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 3"],.pg:is(:lang(zh),:lang(ja),:lang(ko)) h2[style*="font-size: 4"]{font-size:24px!important;line-height:1.3!important}
  .pg:is(:lang(zh),:lang(ja),:lang(ko)) h3,.pg:is(:lang(zh),:lang(ja),:lang(ko)) h3[style]{font-size:18px!important}
}
