/* ==========================================================================
   BIOPLUS / CUPRESSUS — Premium edition
   Editorial direction: ivory paper, deep pine, brass hairlines, serif display.
   Builds on the same content as /site but with a quieter, more luxurious tone.
   ========================================================================== */
:root {
  --ivory:   #f7f4ed;
  --paper:   #fffdf9;
  --pine:    #1c2f23;
  --pine-2:  #2f4d36;
  --sage:    #7f8c7f;
  --brass:   #a8854e;
  --ink:     #1b1e1a;
  --ink-2:   #5e6459;
  --line:    #e2dccd;
  --line-d:  #cdc5b2;
  --serif:   Georgia, "Times New Roman", "Songti SC", serif;
  --sans:    "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
  --max:     1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--ivory);
  line-height: 1.72; font-size: 15.5px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--brass); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

/* type helpers */
.serif { font-family: var(--serif); }
.label {
  font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); font-weight: 600;
}
.rule { display: inline-block; width: 26px; height: 1px; background: var(--brass); vertical-align: middle; margin-right: 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; color: var(--pine); text-wrap: balance; }
h2 { font-size: 40px; line-height: 1.2; }
h3 { font-size: 25px; line-height: 1.3; }
p { color: var(--ink-2); }

/* ------------------------------------------------ header */
.p-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247,244,237,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.p-head .wrap { display: flex; align-items: center; gap: 18px; height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img.blogo { height: 58px; width: auto; }
.brand .bdiv { width: 1px; height: 30px; background: var(--line-d); }
.brand .bname { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--pine); }
nav.pnav { display: flex; gap: 16px; margin-left: auto; align-items: center; }
nav.pnav a {
  font-size: 10.8px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink-2); font-weight: 600; padding: 6px 0; position: relative;
}
nav.pnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
nav.pnav a:hover::after, nav.pnav a.on::after { transform: scaleX(1); }
nav.pnav a.on { color: var(--pine); }
.btn-handbook {
  border: 1px solid var(--pine); padding: 10px 15px; font-size: 10.4px; white-space: nowrap;
  letter-spacing: .1em; text-transform: uppercase; color: var(--pine) !important;
  transition: .25s;
}
.btn-handbook:hover { background: var(--pine); color: var(--ivory) !important; }
.burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 24px; height: 1px; background: var(--pine); margin: 6px 0; }
.burger span:nth-child(2) { width: 16px; margin-left: 8px; }

/* ------------------------------------------------ hero */
.p-hero { display: grid; grid-template-columns: 46fr 54fr; align-items: stretch; background: var(--ivory); }
.p-hero .txt { padding: 86px 30px 86px 0; display: flex; flex-direction: column; justify-content: center; }
.p-hero h1 { font-size: clamp(38px, 4.1vw, 56px); line-height: 1.1; margin: 20px 0 22px; }
.p-hero h1 em { font-style: italic; color: var(--pine-2); }
.p-hero .lead { font-size: 17px; line-height: 1.8; max-width: 46ch; }
.p-hero .acts { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.link-arrow {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  border-bottom: 1px solid var(--brass); padding-bottom: 6px;
}
.link-arrow.plain { border-bottom-color: var(--line-d); color: var(--ink-2); }
.p-hero .fig { position: relative; overflow: hidden; }
.p-hero .fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; min-height: 560px; }
.p-hero .fig figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 26px 34px;
  background: linear-gradient(0deg, rgba(28,47,35,.72), rgba(28,47,35,0));
  color: #f2efe6; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}

/* ------------------------------------------------ number row */
.p-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.p-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.p-stat { padding: 34px 30px; border-left: 1px solid var(--line); }
.p-stat:first-child { border-left: 0; padding-left: 0; }
.p-stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; color: var(--pine); }
.p-stat span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }

/* ------------------------------------------------ generic section */
.p-sec { padding: 108px 0; }
.p-sec.tight { padding: 84px 0; }
.p-sec.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sechead { display: grid; grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 56px; }
.sechead .t h2 { margin-top: 16px; }
.sechead p { margin-top: 14px; max-width: 62ch; font-size: 16px; }

/* ------------------------------------------------ portfolio rows */
.p-rows { border-top: 1px solid var(--line-d); }
.p-row {
  display: grid; grid-template-columns: 56px 1.05fr 1.5fr 150px 34px;
  gap: 26px; align-items: start; padding: 34px 8px;
  border-bottom: 1px solid var(--line); transition: background .3s, padding-left .3s;
}
.p-row:hover { background: var(--paper); padding-left: 18px; }
.p-row .no { font-family: var(--serif); font-size: 13px; color: var(--brass); letter-spacing: .1em; padding-top: 8px; }
.p-row h3 { font-size: 27px; }
.p-row .desc { font-size: 14.5px; line-height: 1.72; color: var(--ink-2); padding-top: 4px; }
.p-row .cnt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); padding-top: 10px; }
.p-row .go { font-family: var(--serif); font-size: 20px; color: var(--brass); padding-top: 4px; }

/* ------------------------------------------------ image band */
.p-band {
  position: relative; min-height: 540px; display: flex; align-items: center;
  background: var(--pine) center/cover no-repeat;
}
.p-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,25,.92) 0%, rgba(20,34,25,.62) 46%, rgba(20,34,25,.12) 100%); }
.p-band .inner { position: relative; z-index: 2; padding: 96px 0; max-width: 620px; }
.p-band .label { color: #b9c6b6; }
.p-band h2 { color: #f6f2e8; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.24; margin: 20px 0 20px; }
.p-band h2 em { font-style: italic; color: #d9c9a6; }
.p-band p { color: rgba(246,242,232,.78); max-width: 46ch; }
.p-band .link-arrow { color: #f6f2e8; border-bottom-color: rgba(246,242,232,.5); margin-top: 32px; display: inline-block; }

/* ------------------------------------------------ platforms */
.p-plats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.p-plat { padding: 34px 26px 10px 26px; border-left: 1px solid var(--line); }
.p-plat:first-child { border-left: 0; padding-left: 0; }
.p-plat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; color: var(--pine); }
.p-plat h4 { margin-top: 14px; font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--pine); }
.p-plat span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* ------------------------------------------------ capabilities */
.p-cap { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.p-cap .side { position: sticky; top: 120px; }
.p-cap .side h2 { margin-top: 16px; line-height: 1.22; }
.p-cap .list { border-top: 1px solid var(--line-d); }
.p-cap .item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.p-cap .item .n { font-family: var(--serif); font-size: 12px; color: var(--brass); letter-spacing: .1em; padding-top: 5px; }
.p-cap .item h4 { font-size: 17px; font-weight: 600; color: var(--pine); font-family: var(--sans); letter-spacing: .01em; }
.p-cap .item p { font-size: 14.5px; margin-top: 6px; }

/* ------------------------------------------------ editorial split */
.p-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.p-editorial .fig img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.p-editorial .fig figcaption { margin-top: 14px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.p-editorial h2 { margin: 16px 0 20px; }
.p-editorial .facts { margin-top: 34px; border-top: 1px solid var(--line-d); }
.p-editorial .facts div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.p-editorial .facts b { font-weight: 600; color: var(--ink); }
.p-editorial .facts span { color: var(--ink-2); text-align: right; }

/* ------------------------------------------------ cta + footer */
.p-cta { padding: 108px 0; text-align: center; background: var(--paper); border-top: 1px solid var(--line); }
.p-cta h2 { font-size: clamp(32px, 3.6vw, 46px); max-width: 20ch; margin: 20px auto 18px; }
.p-cta p { max-width: 52ch; margin: 0 auto; }
.p-cta .acts { margin-top: 36px; }
footer.p-foot { background: var(--pine); color: #b9c6b6; padding: 78px 0 30px; font-size: 13.5px; }
footer.p-foot .cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 48px; }
footer.p-foot .brand img { height: 62px; }
footer.p-foot .brand .bname { color: #f2efe6; }
footer.p-foot .brand .bdiv { background: rgba(255,255,255,.22); }
footer.p-foot p { color: #a9b8a8; font-size: 13.5px; }
footer.p-foot h5 { color: #f2efe6; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
footer.p-foot a { color: #b9c6b6; display: block; padding: 5px 0; }
footer.p-foot a:hover { color: #fff; }
footer.p-foot .bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 60px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8fa08e;
}

/* ------------------------------------------------ page head (inner pages) */
.p-pagehead { padding: 96px 0 46px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.p-pagehead .crumb { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--sage); }
.p-pagehead h1 { font-size: clamp(38px, 4.2vw, 56px); line-height: 1.1; margin: 20px 0 18px; }
.p-pagehead p { max-width: 74ch; font-size: 16.5px; }

/* ------------------------------------------------ tables */
.p-tblwrap { overflow-x: auto; }
table.p-tbl { width: 100%; border-collapse: collapse; min-width: 700px; }
table.p-tbl thead th {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--sage);
  font-weight: 600; text-align: left; padding: 0 14px 12px; border-bottom: 1px solid var(--pine);
  white-space: nowrap; background: transparent;
}
table.p-tbl tbody td { padding: 14px; border-bottom: 1px solid var(--line); font-size: 13.8px; color: var(--ink-2); vertical-align: middle; }
table.p-tbl td.c:first-child, table.p-tbl th.c:first-child { padding-left: 2px; }
table.p-tbl tbody tr:hover td { background: var(--paper); }
table.p-tbl td.c, table.p-tbl th.c { text-align: center; }
table.p-tbl td.code { font-weight: 600; color: var(--pine-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.p-tbl td.name { color: var(--ink); }
table.p-tbl tr.grp td {
  background: transparent; border-bottom: 1px solid var(--line-d);
  font-family: var(--serif); font-size: 17px; color: var(--pine); padding-top: 30px; padding-bottom: 10px;
}
.panel-sec { margin-bottom: 54px; }
.panel-sec > h3 { font-size: 20px; margin-bottom: 12px; }
.note { margin-top: 20px; font-size: 12.5px; color: var(--sage); letter-spacing: .02em; }

/* ------------------------------------------------ filters */
.p-toolbar { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 34px 0 30px; }
.p-search {
  flex: 1 1 320px; max-width: 420px; background: transparent; border: 0;
  border-bottom: 1px solid var(--line-d); padding: 12px 2px; font-size: 14.5px;
  font-family: var(--sans); color: var(--ink); outline: none;
}
.p-search:focus { border-bottom-color: var(--brass); }
.p-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.p-chip {
  background: transparent; border: 1px solid var(--line-d); cursor: pointer;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  padding: 9px 14px; transition: .22s; font-family: var(--sans);
}
.p-chip:hover { border-color: var(--pine); color: var(--pine); }
.p-chip.on { background: var(--pine); border-color: var(--pine); color: var(--ivory); }
.p-chip.tag { border-color: var(--line-d); color: var(--pine-2); font-size: 10px; padding: 7px 11px; letter-spacing: .12em; }
.p-chip.tag:hover { border-color: var(--line-d); color: var(--pine-2); }
.p-count { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-left: auto; }
.grp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: 46px 0 14px; }
.grp-head h3 { font-size: 24px; }
.grp-head span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.grp-head.sub h3 { font-size: 15px; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; color: var(--pine-2); }

/* recommended chips block */
.p-reco { border-top: 1px solid var(--line-d); padding-top: 30px; margin-bottom: 8px; }
.p-reco .label { display: block; margin-bottom: 16px; }

/* ------------------------------------------------ contact */
.p-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 84px; align-items: start; }
.p-contact .info h3 { font-size: 22px; margin-bottom: 28px; }
.p-contact .info .row { padding: 15px 0; border-bottom: 1px solid var(--line); }
.p-contact .info .row b { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 4px; }
.p-contact .info .row span { font-size: 14.5px; color: var(--ink); }
form.p-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
form.p-form label { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin: 22px 0 6px; }
form.p-form input, form.p-form select, form.p-form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-d); background: transparent;
  padding: 10px 2px; font-size: 14.5px; font-family: var(--sans); color: var(--ink); outline: none;
}
form.p-form input:focus, form.p-form select:focus, form.p-form textarea:focus { border-bottom-color: var(--brass); }
form.p-form textarea { resize: vertical; }
form.p-form button {
  margin-top: 34px; background: var(--pine); color: var(--ivory); border: 0; cursor: pointer;
  padding: 16px 40px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-family: var(--sans);
  transition: .25s;
}
form.p-form button:hover { background: var(--brass); }
form.p-form .fnote { margin-top: 16px; font-size: 11.5px; color: var(--sage); }
/* honeypot: 真人不可见，爬虫会勾选 */
form.p-form .botcheck { display: none !important; }
/* 提交反馈：不显示时占位为零，避免布局跳动 */
form.p-form .fmsg { display: none; margin-top: 18px; font-size: 13px; line-height: 1.6; padding: 12px 15px; border-left: 2px solid transparent; }
form.p-form .fmsg.show { display: block; }
form.p-form .fmsg.ok { border-left-color: #2f6e4f; background: rgba(47,110,79,.07); color: #245840; }
form.p-form .fmsg.err { border-left-color: #9b3b2f; background: rgba(155,59,47,.07); color: #85352a; }

.hide { display: none !important; }

/* ------------------------------------------------ responsive */
@media (max-width: 1180px) {
  .wrap { padding: 0 28px; }
  .p-hero { grid-template-columns: 1fr; }
  .p-hero .txt { padding: 72px 0 56px; }
  .p-hero .fig img { min-height: 420px; }
  .sechead, .p-cap, .p-editorial, .p-contact { grid-template-columns: 1fr; gap: 34px; }
  .p-cap .side { position: static; }
  .p-stats .wrap { grid-template-columns: 1fr 1fr; }
  .p-stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .p-plats { grid-template-columns: 1fr 1fr; }
  .p-plat:nth-child(3) { border-left: 0; padding-left: 0; }
  .p-row { grid-template-columns: 40px 1fr 90px 24px; }
  .p-row .desc { display: none; }
  footer.p-foot .cols { grid-template-columns: 1fr 1fr; }
  nav.pnav {
    display: none; position: absolute; top: 88px; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; align-items: stretch;
    padding: 18px 28px 26px; gap: 6px; border-bottom: 1px solid var(--line);
  }
  nav.pnav.open { display: flex; }
  nav.pnav a { padding: 11px 0; }
  .burger { display: block; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .p-sec { padding: 72px 0; }
  h2 { font-size: 31px; }
  .p-plats { grid-template-columns: 1fr; }
  .p-plat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .p-plat:first-child { border-top: 0; }
  .p-row { grid-template-columns: 32px 1fr 22px; }
  .p-row .cnt { display: none; }
  form.p-form .frow { grid-template-columns: 1fr; gap: 0; }
  .p-stats .wrap { grid-template-columns: 1fr; }
  .p-stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .p-stat:first-child { border-top: 0; }
  .p-contact { gap: 48px; }
}

/* ------------------------------------------------ language switch */
.langsw { display: flex; align-items: center; gap: 1px; }
.langsw a, nav.pnav .langsw a {
  font-size: 10px; letter-spacing: .04em; font-weight: 600; color: var(--sage);
  padding: 6px 5px; text-transform: none; line-height: 1;
}
nav.pnav .langsw a::after { display: none; }
nav.pnav .langsw a:hover { color: var(--pine); }
nav.pnav .langsw a.on { color: var(--pine); box-shadow: inset 0 -1px 0 var(--brass); }
.langsw.foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.langsw.foot a, nav.pnav .langsw.foot a { color: #8fa08e; padding: 4px 8px 4px 0; }
nav.pnav .langsw.foot a.on { color: #f2efe6; box-shadow: inset 0 -1px 0 rgba(242,239,230,.6); }
.langsw.foot a:hover { color: #fff; }

/* ------------------------------------------------ RTL (Arabic) */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .p-stat b, html[dir="rtl"] .p-plat b,
html[dir="rtl"] .p-row .no, html[dir="rtl"] .p-row .go,
html[dir="rtl"] .p-cap .item .n, html[dir="rtl"] table.p-tbl tr.grp td {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Arabic Typesetting", Arial, sans-serif;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-weight: 600; letter-spacing: 0; line-height: 1.35; }
html[dir="rtl"] .p-hero h1 { font-size: clamp(32px, 3.4vw, 46px); }
html[dir="rtl"] h2 { font-size: 36px; }
html[dir="rtl"] .p-band h2 { font-size: clamp(28px, 3vw, 40px); }
html[dir="rtl"] .p-cta h2 { font-size: clamp(28px, 3.2vw, 40px); }
html[dir="rtl"] .p-stat b, html[dir="rtl"] .p-plat b { font-size: 42px; }
html[dir="rtl"] .rule { margin-right: 0; margin-left: 12px; }
html[dir="rtl"] nav.pnav { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .burger span:nth-child(2) { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] nav.pnav a::after { transform-origin: right; }
html[dir="rtl"] .p-hero .txt { padding: 86px 0 86px 30px; }
html[dir="rtl"] .p-band::before { background: linear-gradient(270deg, rgba(20,34,25,.92) 0%, rgba(20,34,25,.62) 46%, rgba(20,34,25,.12) 100%); }
html[dir="rtl"] .p-stat { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .p-stat:first-child { border-right: 0; padding-right: 0; }
html[dir="rtl"] .p-plat { border-left: 0; border-right: 1px solid var(--line); }
html[dir="rtl"] .p-plat:first-child { border-right: 0; padding-right: 0; }
html[dir="rtl"] .p-row:hover { padding-left: 8px; padding-right: 18px; }
html[dir="rtl"] .p-row .go { transform: scaleX(-1); }
html[dir="rtl"] .p-editorial .facts span { text-align: left; }
html[dir="rtl"] table.p-tbl thead th { text-align: right; }
html[dir="rtl"] table.p-tbl td.c:first-child, html[dir="rtl"] table.p-tbl th.c:first-child { padding-left: 14px; padding-right: 2px; }
html[dir="rtl"] .p-count { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .p-hero .fig figcaption { letter-spacing: 0; }
html[dir="rtl"] .label, html[dir="rtl"] .crumb,
html[dir="rtl"] nav.pnav a, html[dir="rtl"] .btn-handbook,
html[dir="rtl"] .link-arrow, html[dir="rtl"] .p-chip,
html[dir="rtl"] table.p-tbl thead th, html[dir="rtl"] footer.p-foot h5,
html[dir="rtl"] .p-stat span, html[dir="rtl"] .p-row .cnt,
html[dir="rtl"] .grp-head span, html[dir="rtl"] .p-contact .info .row b,
html[dir="rtl"] form.p-form label, html[dir="rtl"] form.p-form button { letter-spacing: 0; }
html[dir="rtl"] form.p-form button { padding: 16px 38px; }
html[dir="rtl"] form.p-form .fmsg { border-left: 0; border-right: 2px solid transparent; }
html[dir="rtl"] form.p-form .fmsg.ok { border-right-color: #2f6e4f; }
html[dir="rtl"] form.p-form .fmsg.err { border-right-color: #9b3b2f; }

@media (max-width: 1080px) {
  html[dir="rtl"] .p-hero .txt { padding: 72px 0 56px; }
  html[dir="rtl"] .p-stat:nth-child(3) { border-right: 0; padding-right: 0; }
  html[dir="rtl"] .p-plat:nth-child(3) { border-right: 0; padding-right: 0; }
  .langsw { flex-wrap: wrap; }
  nav.pnav .langsw { padding: 12px 0 0; }
  nav.pnav .langsw a { padding: 8px 12px 8px 0; }
}
@media (max-width: 720px) {
  html[dir="rtl"] .p-plat, html[dir="rtl"] .p-stat { border-right: 0; padding-right: 0; }
  html[dir="rtl"] .p-hero h1 { font-size: 30px; }
  html[dir="rtl"] h2 { font-size: 27px; }
}

/* ------------------------------------------------ CJK tracking */
html[lang="zh-CN"] .label, html[lang="zh-CN"] .crumb,
html[lang="zh-CN"] nav.pnav a, html[lang="zh-CN"] .btn-handbook,
html[lang="zh-CN"] .link-arrow, html[lang="zh-CN"] .p-stat span,
html[lang="zh-CN"] .p-row .cnt, html[lang="zh-CN"] .grp-head span,
html[lang="zh-CN"] table.p-tbl thead th, html[lang="zh-CN"] .p-chip,
html[lang="zh-CN"] form.p-form label, html[lang="zh-CN"] footer.p-foot h5,
html[lang="zh-CN"] .p-contact .info .row b, html[lang="zh-CN"] .p-hero .fig figcaption {
  letter-spacing: .06em;
}
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { letter-spacing: 0; }
html[lang="zh-CN"] .p-hero h1 em, html[lang="zh-CN"] .p-band h2 em, html[lang="zh-CN"] .p-cta h2 em { white-space: nowrap; }
html[lang="zh-CN"] .p-hero .lead { font-size: 16.5px; line-height: 1.9; }
html[lang="zh-CN"] .p-cta h2 { max-width: 24ch; }

/* longer Romance/Cyrillic headlines need a slightly smaller size in the 320px column */
html[lang="es"] .p-cap .side h2,
html[lang="ru"] .p-cap .side h2 { font-size: 33px; line-height: 1.24; }
@media (max-width: 720px) {
  html[lang="es"] .p-cap .side h2,
  html[lang="ru"] .p-cap .side h2 { font-size: 27px; }
}
