/* 字体放在自己的服务器上，俄罗斯和中国都不用连 Google。中文用手机系统字体。 */
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-sans-latin-400-normal.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;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/noto-sans-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/noto-sans-latin-500-normal.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;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/noto-sans-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/noto-sans-latin-700-normal.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;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/noto-sans-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/oswald-latin-500-normal.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;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/oswald-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --hall: #dfe7ee;
  --plate: #f7f8f6;
  --ink: #17202b;
  --muted: #5c6b7a;
  --brass: #8d6a34;
  --brass-deep: #6b4e24;
  --line: #d5dee6;
  --shadow: rgba(23, 32, 43, 0.08);
}

* { box-sizing: border-box; }

body.placard {
  margin: 0;
  min-height: 100dvh;
  background: var(--hall);
  color: var(--ink);
  font-family: "Noto Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.5;
}

.card {
  width: min(28rem, 100%);
  margin: 0 auto;
  background: var(--plate);
  padding: 1.1rem 1.25rem 2.2rem;
  animation: rise 420ms ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.langbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.lang {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.45rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.lang[aria-current="true"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.hero {
  position: relative;
  margin: 0 0 1.1rem;
  background: #e7eef3;
}

.hero img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 公司页 mock 里还没有图片时的占位框 */
.hero-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.tick {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--brass);
}

.tick-nw { top: 0.55rem; left: 0.55rem; border-right: 0; border-bottom: 0; }
.tick-ne { top: 0.55rem; right: 0.55rem; border-left: 0; border-bottom: 0; }
.tick-sw { bottom: 0.55rem; left: 0.55rem; border-right: 0; border-top: 0; }
.tick-se { bottom: 0.55rem; right: 0.55rem; border-left: 0; border-top: 0; }

.name {
  margin: 0;
  font-family: Oswald, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(2.3rem, 9vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

html[lang="en"] .name {
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

html[lang="zh"] .name {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

html[lang="ru"] .name { text-transform: none; }

.intro {
  margin: 0.9rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.specs,
.docs { margin-top: 1.6rem; }

.specs h2,
.docs h2 {
  margin: 0 0 0.35rem;
  color: var(--brass-deep);
  font-family: Oswald, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[lang="zh"] .specs h2,
html[lang="zh"] .docs h2 {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  letter-spacing: 0.22em;
  text-transform: none;
  font-size: 0.85rem;
}

.specs dl { margin: 0; }

.spec {
  display: grid;
  grid-template-columns: minmax(6rem, 0.9fr) 1.2fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

/* 俄语参数名常是一个很长的词，要能换行，不然会压到右边的值上 */
.spec dt { color: var(--muted); min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.spec dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

.docs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doc {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.rivet {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
  background: var(--brass);
  box-shadow: inset 0 0 0 3px var(--plate);
}

.doc:hover .doc-name,
.doc:focus-visible .doc-name { color: var(--brass-deep); }

/* 联系我们：一块黄铜色的按钮，点开列出联系方式 */
.contact { margin-top: 1.6rem; }
.contact summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1rem;
  background: var(--ink);
  color: var(--plate);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}
.contact summary::-webkit-details-marker { display: none; }
.contact summary .rivet { box-shadow: inset 0 0 0 3px var(--ink); }
.contact[open] summary { background: var(--brass-deep); }
.contact ul { list-style: none; margin: 0; padding: 0.2rem 0 0; }
.contact-link {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.contact-k { color: var(--muted); font-size: 0.9rem; }
.contact-v { font-weight: 500; overflow-wrap: anywhere; }
.contact-link:hover .contact-v,
.contact-link:focus-visible .contact-v { color: var(--brass-deep); }

.plate-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.company,
.booth { margin: 0; }

.booth-k {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

html[lang="zh"] .booth-k {
  letter-spacing: 0.12em;
  text-transform: none;
}

.gate {
  margin: 0;
  padding: 4.5rem 0 3rem;
  font-family: Oswald, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1.15;
  font-weight: 500;
}

html[lang="zh"] .gate {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 700;
}

a:focus-visible,
.lang:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  body.placard {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
  }

  .card {
    box-shadow: 0 18px 50px var(--shadow);
    padding: 1.4rem 1.5rem 2rem;
  }
}

@media (max-width: 719px) {
  body.placard { background: var(--plate); }
  .card { min-height: 100dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .card { animation: none; }
}
