:root {
  --navy: #003366;
  --ink: #101828;
  --muted: #667085;
  --line: #dde3ec;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --orange: #ff6600;
  --green: #0c7a5f;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(221, 227, 236, .86);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.brand-logo {
  width: auto;
  height: 70px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1;
  letter-spacing: .03em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  position: relative;
  min-height: 44px;
  padding: 0 14px 0 46px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
}

.menu-toggle span {
  position: absolute;
  left: 16px;
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle b {
  font-size: 13px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(16, 24, 40, .48);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity .22s ease;
}

.menu-backdrop[hidden],
.mobile-menu[hidden] {
  display: none !important;
}

.menu-backdrop.is-open {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 70;
  width: min(390px, 88vw);
  min-height: 100dvh;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 6px;
  background: #fff;
  box-shadow: -24px 0 80px rgba(16, 24, 40, .2);
  transform: translateX(104%);
  transition: transform .26s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-head strong {
  color: var(--navy);
  font-size: 18px;
  letter-spacing: .04em;
}

.mobile-menu-head button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  font-size: 24px;
  line-height: 1;
}

.mobile-menu a {
  min-height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 900;
  border: 1px solid transparent;
}

.mobile-menu a:hover {
  background: var(--soft);
  border-color: var(--line);
}

.mobile-platform {
  margin-top: 14px;
  color: #fff !important;
  background: var(--navy);
  justify-content: center;
}

body.menu-panel-open {
  overflow: hidden;
}

.site-nav a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.language-switch button {
  min-width: 34px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.active {
  color: #fff;
  background: var(--navy);
}

.floating-lang {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 80;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .12);
}

.platform-link,
.btn {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.platform-link {
  color: #fff;
  background: var(--navy);
}

.btn.primary {
  color: #fff;
  background: var(--orange);
}

.btn.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #101828;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 40, .92), rgba(16, 24, 40, .56), rgba(0, 51, 102, .36)),
    url("https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 128px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 4vw, 56px);
  bottom: 24px;
  left: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(16, 24, 40, .72);
  backdrop-filter: blur(14px);
}

.hero-strip span {
  min-height: 84px;
  padding: 18px;
  display: grid;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.hero-strip span:last-child { border-right: 0; }
.hero-strip strong { font-size: 24px; }
.hero-strip small { color: rgba(255, 255, 255, .68); font-weight: 800; }

.section,
.commodities,
.contact {
  padding: 82px clamp(18px, 4vw, 56px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 620px;
}

.section h2,
.commodities h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: 0;
}

.trust-grid,
.service-list,
.article-grid,
.risk-quality {
  display: grid;
  gap: 14px;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid article,
.service-list article,
.risk-quality article,
.article-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-grid article,
.service-list article,
.risk-quality article,
.article-grid article {
  padding: 24px;
}

.trust-grid span,
.article-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin: 10px 0 8px;
  font-size: 21px;
}

p,
li {
  color: var(--muted);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 44px;
  background: var(--soft);
}

.rich-copy {
  display: grid;
  gap: 12px;
  align-content: start;
}

.rich-copy p {
  margin: 0;
  font-size: 17px;
}

.risk-quality {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.risk-quality ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.services,
.articles {
  background: var(--soft);
}

.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.commodities {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 51, 102, .96), rgba(0, 51, 102, .82)),
    url("https://images.unsplash.com/photo-1605733160314-4fc7dac4bb16?auto=format&fit=crop&w=1600&q=82") center/cover;
}

.commodities p {
  color: rgba(255, 255, 255, .74);
}

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

.commodity-panel span {
  min-height: 86px;
  padding: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  font-size: 18px;
  font-weight: 900;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.process-line article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-line strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
}

.process-line span {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 900;
}

.process-line small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.article-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.article-grid article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.article-grid img {
  width: calc(100% + 48px);
  height: 150px;
  margin: -24px -24px 18px;
  object-fit: cover;
}

.article-grid a {
  margin-top: auto;
  color: var(--orange);
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: center;
}

.contact-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.contact-card a:first-child {
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
}

.contact-card span {
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  margin-left: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer > a {
  margin-left: auto;
  color: var(--navy);
  font-weight: 900;
}

.article-page {
  background: var(--soft);
}

.article-hero {
  padding: 76px clamp(18px, 4vw, 56px) 34px;
  background: #fff;
}

.article-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.article-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
}

.article-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.article-cover {
  width: 100%;
  height: min(470px, 52vw);
  margin-top: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.article-shell,
.legal-shell {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 82px;
}

.article-content,
.legal-content {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-content h2,
.legal-content h1,
.legal-content h2 {
  margin: 30px 0 10px;
  line-height: 1.12;
}

.article-content h2:first-child,
.legal-content h1:first-child {
  margin-top: 0;
}

.article-content p,
.legal-content p,
.legal-content li {
  font-size: 16px;
}

.article-content ul,
.legal-content ul {
  padding-left: 20px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .service-list,
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-nav,
  .header-actions .platform-link {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
    padding: 10px 16px;
    gap: 10px;
  }
  .brand {
    min-width: 0;
    order: 1;
  }
  .header-actions {
    order: 2;
    margin-left: 0;
  }
  .menu-toggle {
    order: 3;
  }
  .brand-logo {
    height: 56px;
  }
  .brand span {
    display: none;
  }
  .language-switch {
    display: inline-flex;
    padding: 2px;
    border-radius: 7px;
  }
  .language-switch button {
    min-width: 30px;
    height: 28px;
    border-radius: 5px;
    font-size: 11px;
  }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 90px; }
  .hero-strip,
  .trust-grid,
  .split,
  .risk-quality,
  .service-list,
  .commodities,
  .commodity-panel,
  .process-line,
  .article-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero-strip { position: relative; right: auto; bottom: auto; left: auto; margin: -84px 18px 24px; }
  .hero-strip span { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hero-strip span:last-child { border-bottom: 0; }
  .site-footer > a { margin-left: 0; }
  .article-cover { height: 260px; }
}
