:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --text: #171717;
  --muted: #727272;
  --line: #e5e5e5;
  --accent: #d7ff00;
  --accent-dark: #badb00;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Golos Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

.page-shell {
  width: min(1184px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 16px; font-weight: 600; letter-spacing: -0.04em; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; margin-right: 24px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 500; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-active { color: var(--text); }
.lang-switcher { display: flex; gap: 2px; }

.lang-link {
  padding: 6px 8px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.lang-link:hover, .lang-link:focus-visible { color: var(--text); background: #eeeeee; }
.lang-link.is-active { color: var(--text); background: var(--accent); }

main { padding: 28px 0; }
.hero { padding-bottom: 28px; border-bottom: 1px solid var(--line); text-align: center; }

.inner-page { min-height: calc(100vh - 194px); padding: 40px 0 28px; }
.inner-page > h1 { margin: 0 0 22px; font-size: 42px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
.info-card { max-width: 680px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.info-card h2 { margin: 12px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.12; }
.info-card p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.company-subtitle { margin: -10px 0 18px; color: var(--muted); font-size: 18px; line-height: 1.4; }
.company-subtitle a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.company-card { max-width: none; padding: 14px; }
.certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.certificate-grid img { display: block; width: 100%; height: auto; border-radius: 10px; }
.contact-card { max-width: 820px; }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list > div:first-child { padding-top: 0; }
.contact-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-list dt { color: var(--muted); font-size: 14px; }
.contact-list dd { margin: 0; font-size: 16px; line-height: 1.45; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.contact-note { color: var(--muted); }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.hero h1, .section-heading h2, .news-panel h2, .card h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero h1 {
  margin-top: 0;
  font-size: 42px;
  line-height: 1.05;
}

.hero-copy {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.products { padding-top: 20px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { font-size: 24px; line-height: 1.1; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status {
  padding: 6px 10px;
  border: 1px solid #c9efd2;
  border-radius: 999px;
  color: #15962d;
  background: #f6fff7;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.card-actions { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 27px; line-height: 1; }
.card-actions span:last-child { font-size: 23px; }

.product-cover {
  display: flex;
  align-items: flex-end;
  height: 152px;
  margin-top: 14px;
  padding: 14px;
  overflow: hidden;
  border-radius: 10px;
  color: #ffffff;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.cover-image { padding: 0; background: #e8e8e8; }
.cover-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.cover-logo { align-items: center; justify-content: center; padding: 24px; background: #0067a8; }
.cover-logo img { width: min(136px, 62%); height: auto; border-radius: 22px; object-fit: contain; }
.cover-two { background: linear-gradient(140deg, #120022, #3d0b84 56%, #9359ff); }
.cover-three { background: linear-gradient(135deg, #081929, #175b71 55%, #8addd1); }

.card h3 { margin-top: 16px; font-size: 22px; line-height: 1.1; }
.card p { min-height: 58px; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.4; }

.card-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.card-link:hover, .card-link:focus-visible { color: #15962d; }

.card-coming {
  display: inline-flex;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.news-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--accent);
}

.news-panel .eyebrow { color: #566600; }
.news-panel h2 { max-width: none; margin-top: 8px; font-size: 24px; line-height: 1.12; }

.text-link {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link:hover, .text-link:focus-visible { text-decoration: underline; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 32px, 1184px); }
  .site-header { flex-wrap: wrap; min-height: 0; padding: 10px 0; row-gap: 10px; }
  .brand { margin-right: auto; }
  .lang-switcher { flex-shrink: 0; }
  main { padding-top: 24px; }
  .hero { padding-bottom: 24px; }
  .hero h1 { font-size: 36px; }
  .site-nav { order: 3; width: 100%; gap: 16px; margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
  .site-nav a { font-size: 13px; }
  .inner-page { min-height: calc(100vh - 162px); padding-top: 28px; }
  .inner-page > h1 { font-size: 36px; margin-bottom: 16px; }
  .info-card { padding: 18px; }
  .company-subtitle { margin: -4px 0 14px; font-size: 16px; }
  .company-card { padding: 10px; }
  .certificate-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 6px; }
  .content-grid { grid-template-columns: 1fr; }
  .card { padding: 14px; }
  .product-cover { height: 144px; margin-top: 12px; }
  .card p { min-height: 0; }
  .news-panel { display: grid; align-items: start; padding: 18px; }
  .news-panel h2 { font-size: 21px; }
  .site-footer { flex-direction: column; align-items: center; gap: 8px; }
}

/* Cookie consent banner */
.consent-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 50;
  max-width: 520px;
  margin-left: auto;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.consent-banner__title { margin: 0; font-size: 16px; font-weight: 600; }
.consent-banner__text { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.consent-banner__text a { color: var(--text); text-decoration: underline; }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.consent-banner__button {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.consent-banner__button--primary { border-color: var(--accent-dark); background: var(--accent); }
.consent-banner__button:hover, .consent-banner__button:focus-visible { border-color: var(--text); }

/* Footer links and privacy policy */
.footer-link { color: var(--muted); font-size: 14px; }
.footer-link:hover, .footer-link:focus-visible { color: var(--text); text-decoration: underline; }
.footer-link--button { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; cursor: pointer; }
.policy-card h2 { margin: 24px 0 8px; font-size: 18px; line-height: 1.3; }
.policy-card p, .policy-text { margin: 0; color: #3a3a3a; font-size: 15px; line-height: 1.6; }
.policy-text ul { margin: 8px 0 0; padding-left: 20px; }
.policy-text li + li { margin-top: 4px; }
.policy-card a { text-decoration: underline; }
.policy-date { color: var(--muted) !important; font-size: 14px !important; }
.policy-card p:last-child { color: #3a3a3a; font-size: 15px; }
.policy-card p:last-child { margin: 0; line-height: 1.6; }
