
:root {
  --ink: #203646;
  --muted: #51646a;
  --blue: #0b6f66;
  --accent-hover: #084e48;
  --line: #d6e2e2;
  --soft: #f3f6f8;
  --tint: #eff7f5;
  --stripe-direction: 90deg;
  --stripe: linear-gradient(var(--stripe-direction), var(--ink) 0 62%, var(--blue) 62% 100%);
}
html[dir=rtl] { --stripe-direction: 270deg; }
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font: 16px/1.75 Arial, Helvetica, sans-serif;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
body::before { content: ''; flex: 0 0 3px; background: var(--stripe); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
button { font: inherit; cursor: pointer; }
p, h1, h2, h3, dl { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1[tabindex="-1"]:focus { outline: none; }
header {
  position: relative;
  z-index: 20;
  min-height: 76px;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid #e8eaed;
}
header a { color: var(--ink); font-size: 13px; white-space: nowrap; }
.site-name { color: var(--muted); font-size: 15px; }
.header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 26px; min-width: 0; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.menu-toggle { display: none; }
.site-nav a[aria-current] { color: var(--blue); box-shadow: 0 2px 0 var(--blue); text-decoration: none; }
.language-menu { position: relative; flex-shrink: 0; font-size: 13px; }
.language-menu summary { display: flex; align-items: center; min-height: 44px; gap: 8px; padding: 6px 0 6px 8px; list-style: none; cursor: pointer; color: #5f6368; white-space: nowrap; }
.language-menu summary::-webkit-details-marker { display: none; }
.chevron { font-size: 15px; line-height: 1; }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 155px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 12px #20212418; z-index: 100; }
.language-options { max-inline-size: calc(100vw - 32px); }
.language-options a { display: block; min-height: 44px; padding: 10px 13px; border-radius: 4px; font-size: 14px; }
.language-options a:hover { background: var(--soft); text-decoration: none; }
.language-options a[aria-current] { color: var(--blue); background: var(--tint); }
main { flex: 1; display: flex; flex-direction: column; }
.panel[hidden] { display: none !important; }
.home { flex: 1; display: grid; place-items: center; min-height: 650px; padding: 70px 24px 125px; }
.home-content { width: 100%; max-width: 800px; margin: auto; text-align: center; }
.home h1 { font-size: 48px; letter-spacing: -1.8px; line-height: 1.25; }
.home h1::after { content: ''; display: block; width: 96px; height: 4px; margin: 22px auto 24px; background: var(--stripe); }
.home-role { font-size: 19px; color: #3d5665; margin-top: 0; }
.home-description { max-width: 650px; margin: 25px auto 0; font-size: 16px; line-height: 1.85; color: var(--muted); }
.home-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; font-size: 14px; margin-top: 30px; }
.home-links a { display: inline-flex; align-items: center; min-height: 44px; }
.home-facts { font-size: 12px; color: var(--muted); margin-top: 30px; }
.reading { width: min(100% - 48px, 760px); margin: 32px auto 88px; text-align: start; }
.back { display: inline-block; font-size: 13px; color: var(--muted); margin-bottom: 34px; }
.section-heading { text-align: center; }
.section-heading h1 { font-size: 34px; letter-spacing: -.6px; line-height: 1.35; }
.project-address { margin-top: 8px; font-size: 17px; line-height: 1.5; }
.project-address a { display: inline-flex; align-items: center; min-height: 44px; }
.product-reference { white-space: normal; }
.product-name, .product-domain-wrap, .product-domain { white-space: nowrap; }
.product-domain { display: inline-block; padding-block: 2px; text-decoration: underline; text-underline-offset: .16em; }
.project-link .product-domain { min-height: 44px; padding-block: 8px; }
.section-rule { display: block; width: 96px; height: 4px; background: var(--stripe); margin: 25px auto 34px; }
.section-body { max-width: 680px; margin-inline: auto; }
.section-body p { margin-bottom: 24px; font-size: 17px; line-height: 1.8; color: #4f555a; }
.section-body > .lead { max-width: 620px; margin: 0 auto 36px; text-align: center; color: #263f4d; font-size: 20px; line-height: 1.65; }
.section-body h2 { font-size: 23px; line-height: 1.45; margin: 36px 0 16px; }
.section-body h3 { font-size: 18px; line-height: 1.5; }
.topics { border-top: 2px solid var(--ink); margin-top: 36px; }
.topics > div { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 24px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.topics dt { font-size: 17px; line-height: 1.7; font-weight: 600; }
.topics dd { margin: 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
#about .section-body { max-width: none; }
.bio { display: grid; grid-template-columns: minmax(0,1fr) 190px; gap: 38px; align-items: start; }
.bio > div { min-inline-size: 0; }
.bio .lead { font-size: 20px; line-height: 1.65; color: #30343a; }
.bio img { width: 190px; height: 255px; object-fit: cover; object-position: 50% 22%; border-radius: 3px; }
.section-body .source-link { font-size: 13px; margin-top: 12px; }
.content-section, .science { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 36px; }
.content-section h2, .science h2 { margin-top: 0; }
.scenario { border-inline-start: 3px solid var(--blue); background: var(--tint); padding: 12px 18px; margin: 26px 0 12px; }
.section-body .scenario-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.section-body .scenario-text { font-size: 15px; line-height: 1.8; margin-bottom: 0; }
.science-links { margin: 24px 0 0; padding: 0; list-style: none; }
.science-links li { border-top: 1px solid var(--line); padding-block: 18px; }
.science-links a { font-size: 16px; }
.section-body .document-note { font-size: 13px; margin: 7px 0 0; color: var(--muted); }
.fee { border-top: 2px solid var(--ink); padding-top: 25px; margin-top: 36px; margin-bottom: 28px; }
.section-body .fee-label { font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.section-body .fee-value { font-size: 28px; line-height: 1.5; color: var(--ink); margin-bottom: 12px; }
.section-body .fee-note { font-size: 14px; color: var(--muted); margin-bottom: 0; }
#contact .section-body { text-align: center; max-width: 600px; }
#contact .section-body > .lead { margin-bottom: 24px; }
.contact-address { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; padding-top: 30px; border-top: 1px solid var(--line); margin-top: 32px; }
.contact-address > a { min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere; font-size: 27px; }
.contact-address button { min-height: 44px; font-size: 12px; background: var(--soft); border: 1px solid var(--line); color: #545b60; padding: 6px 12px; border-radius: 4px; }
.section-body .copy-status { font-size: 12px; min-height: 22px; color: var(--muted); margin-top: 10px; margin-bottom: 20px; }
.section-body .project-note { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 30px; }
footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 17px 36px; }
footer::before { content: ''; position: absolute; inset: -1px 0 auto; height: 2px; background: var(--stripe); }
footer div { display: flex; gap: 25px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.skip { position: fixed; inset-inline-start: 12px; top: -100px; background: white; padding: 8px 12px; border: 1px solid var(--line); z-index: 200; }
.skip:focus { top: 12px; }
html[lang=ar] body { line-height: 1.9; }
html[lang=ar] .site-nav a { font-size: 14px; }
html[lang=ar] .section-body p { font-size: 18px; line-height: 2; }
html[lang=ar] .section-body > .lead { font-size: 22px; line-height: 1.9; }
html[lang=ar] .home-role { font-size: 20px; }
html[lang=ar] .home-description { font-size: 17px; }
html[lang=ar] .home-facts { font-size: 12px; }
html[lang=ar] .section-body .fee-value { font-size: 28px; }
html[lang=ar] .section-body .fee-note,
html[lang=ar] .section-body .fee-label,
html[lang=ar] .section-body .document-note,
html[lang=ar] .section-body .scenario-label { font-size: 14px; }
html[lang^=zh] body { font-family: Arial,"PingFang SC","Microsoft YaHei",sans-serif; }
html[lang^=zh] .section-body p { line-height: 1.95; }
.note-list { list-style: none; padding: 0; margin: 40px 0 0; }
.note-row { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.section-body .note-title { margin: 8px 0 10px; font-size: 25px; line-height: 1.45; }
.note-title a { color: var(--ink); }
.note-title a:hover { color: var(--blue); }
.section-body .note-summary { margin: 0; font-size: 16px; color: var(--muted); }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.note-row .note-meta { margin-top: 0; justify-content: flex-start; }
.draft-label { color: var(--blue); }
.draft-banner { margin: 0 auto 30px; padding: 12px 0; max-width: 680px; border-block: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.section-body .note-domain { margin: 0 0 12px; font-size: 13px; }
.section-body > .note-lead { text-align: start; max-width: none; font-size: 19px; line-height: 1.8; }
.section-body .notes-empty { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; color: var(--muted); font-size: 15px; }
.section-body .note-closing { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 36px; }
.note-bottom-back { max-width: 680px; margin: 30px auto 0; font-size: 14px; }
.note-bottom-back a, .back { min-height: 44px; display: inline-flex; align-items: center; }
.note-page .section-heading h1 { max-width: 700px; margin-inline: auto; text-wrap: balance; }
@media (min-height:1000px) { .home { padding-bottom: 200px; } }
@media (max-width:1000px) {
  header { gap: 20px; }
  .header-controls { gap: 20px; }
  .site-nav { gap: 12px 18px; }
  header a { font-size: 12px; }
  .site-name { font-size: 14px; }
}
@media (max-width:800px) {
  header { padding-inline: 24px; }
  .home h1 { font-size: 44px; }
  .home-role { font-size: 18px; }
  .home-description { font-size: 15px; }
  .bio { grid-template-columns: minmax(0,1fr) 170px; gap: 28px; }
  .bio img { width: 170px; height: 240px; }
}
@media (max-width:800px) {
  header { flex-wrap: nowrap; justify-content: space-between; gap: 10px; }
  .site-name { display: inline; }
  .header-controls { width: auto; flex-direction: row; gap: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 10px; background: transparent; color: var(--ink); border: 0; border-radius: 3px; font-size: 13px; }
  .menu-toggle[aria-expanded=true] { color: var(--blue); background: var(--tint); }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; padding: 10px 22px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 12px #2036460a; z-index: 90; }
  header.menu-open .site-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; font-size: 15px; white-space: normal; }
  .site-nav a[aria-current] { background: var(--tint); box-shadow: none; border-inline-start: 2px solid var(--blue); }
  .language-menu summary { font-size: 12px; }
  .home { padding-top: 50px; }
}
@media (max-width:600px) {
  header { padding: 10px 20px 15px; }
  .site-nav { gap: 8px 16px; }
  .home { min-height: 0; padding: 40px 22px; padding: clamp(32px,8svh,64px) 22px; }
  .home h1 { font-size: 38px; letter-spacing: -1.3px; }
  .home h1::after { width: 64px; margin: 18px auto 20px; }
  .home-role { font-size: 16px; line-height: 1.6; max-width: 340px; margin: 14px auto 0; }
  .home-description { max-width: 350px; font-size: 15px; margin-top: 22px; }
  .home-links { gap: 24px; font-size: 13px; margin-top: 28px; }
  .home-facts { max-width: 300px; margin: 25px auto 0; font-size: 11px; }
  .reading { width: calc(100% - 44px); margin-top: 25px; margin-bottom: 54px; }
  .back { margin-bottom: 28px; font-size: 12px; }
  .section-heading h1 { font-size: 30px; }
  .section-rule { width: 64px; margin: 22px auto 28px; }
  .section-body p { font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
  .section-body > .lead { font-size: 19px; line-height: 1.65; margin-bottom: 30px; }
  .section-body h2 { font-size: 22px; }
  .topics { margin-top: 30px; }
  .topics > div { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
  .topics dd { font-size: 15px; }
  .bio { display: flex; flex-direction: column-reverse; gap: 28px; }
  .bio img { width: 150px; height: 190px; }
  .bio .lead { font-size: 19px; }
  .section-body .source-link { font-size: 12px; }
  .content-section, .science { padding-top: 26px; margin-top: 30px; }
  .section-body .fee-value { font-size: 25px; }
  .contact-address { gap: 15px; }
  .contact-address > a { font-size: 25px; }
  footer { font-size: 10px; padding: 16px 22px; gap: 20px; }
  footer div { gap: 20px; }
  html[lang=ar] .home-role { font-size: 18px; }
  html[lang=ar] .section-body > .lead { font-size: 21px; }
}
@media (max-width:360px) {
  header { padding-inline: 16px; }
  .site-name { font-size: 13px; }
  .header-controls { gap: 6px; }
  .home h1 { font-size: 35px; }
  .reading { width: calc(100% - 36px); }
}
@media (prefers-reduced-motion:reduce) { * { transition: none !important; } }
