:root {
  --ink: #14222a;
  --muted: #5f7078;
  --line: #d9e2e6;
  --panel: #f7fafb;
  --brand: #0d6b7f;
  --brand-dark: #0a4d5b;
  --accent: #d89525;
  --white: #ffffff;
  --max: 1160px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(100% - 32px, var(--max));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 2026-05-29 mobile logo wrapping */
.logo {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  min-width: 0;
}

.logo img {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.logo strong {
  display: block;
  font-size: 17px;
  min-width: 0;
}

.logo span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  min-width: 0;
  overflow-wrap: break-word;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.quote-link {
  padding: 9px 14px;
  color: var(--white);
  background: var(--brand);
  border-radius: 4px;
  font-weight: 700;
}

.quote-link:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.hero {
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 22, 30, 0.84), rgba(7, 22, 30, 0.48) 52%, rgba(7, 22, 30, 0.16)),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 118px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
}

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

.hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #e9f0f2;
  font-size: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--brand);
  border-radius: 4px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
  color: var(--white);
}

.button.light {
  border-color: var(--line);
  background: var(--white);
  color: var(--brand);
}

.button:hover {
  text-decoration: none;
  background: var(--brand-dark);
  color: var(--white);
}

main {
  overflow: hidden;
}

.section {
  padding: 74px 0;
}

.section.alt {
  background: var(--panel);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.intro {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.resource-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: .2s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(20, 34, 42, .12);
}

.resource-card span {
  width: max-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  color: var(--brand);
  font-weight: 700;
  background: #eaf4f6;
  border-radius: 999px;
}

.resource-card h3 {
  margin: 28px 0 12px;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
}

.authority-note {
  color: var(--white);
  background: #12313b;
}

.authority-note h2,
.authority-note .eyebrow {
  color: var(--white);
}

.authority-note p {
  max-width: 840px;
  color: rgba(255, 255, 255, .82);
}

.authority-note-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.authority-emblem {
  width: 150px;
  max-width: 100%;
  align-self: center;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .2);
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: -24px -24px 20px;
  max-width: calc(100% + 48px);
  border-radius: 8px 8px 0 0;
}

.card p,
.lead-list,
.content p,
.content li {
  color: var(--muted);
}

.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.spec {
  padding: 22px;
  background: var(--white);
}

.spec strong {
  display: block;
  margin-bottom: 4px;
  font-size: 26px;
  color: var(--brand-dark);
}

.buyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.buyer-grid.tight {
  margin-top: 0;
  margin-bottom: 28px;
}

.buyer-grid + .grid {
  margin-top: 28px;
}

.buyer-item {
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.buyer-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 17px;
}

.buyer-item span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.banner {
  padding: 54px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 32, 40, 0.82), rgba(10, 32, 40, 0.3)),
    var(--banner-image) center / cover no-repeat;
}

.banner h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.banner p {
  max-width: 760px;
  color: #e8eff1;
  font-size: 19px;
}

.breadcrumbs {
  margin-bottom: 16px;
  color: #dfe9ec;
  font-size: 14px;
}

.breadcrumbs a {
  color: #ffffff;
}

.content {
  max-width: 860px;
}

.content h2 {
  margin-top: 38px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 15px;
}

.table th,
.table td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--panel);
  color: var(--ink);
}

.notice {
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: #fff8ec;
}

.trust-panel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(20, 34, 42, .12);
}

.trust-panel img {
  width: 180px;
  max-width: 100%;
}

.trust-panel h2 {
  margin: 0 0 12px;
}

.trust-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-toc {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(20, 34, 42, .12);
}

.faq-toc strong {
  color: var(--ink);
  font-size: 18px;
}

.faq-toc a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  background: var(--panel);
}

.faq-toc a:hover {
  color: var(--brand);
  background: #eaf4f6;
  text-decoration: none;
}

.faq-groups {
  display: grid;
  gap: 24px;
}

.faq-group {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(20, 34, 42, .12);
}

.faq-group-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.faq-group-head span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 900;
  background: var(--brand);
  border-radius: 999px;
}

.faq-group-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.faq-group-head p,
.faq-item li {
  color: var(--muted);
  line-height: 1.8;
}

.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.faq-item ul {
  margin: 0;
  padding-left: 22px;
}

.faq-item li + li {
  margin-top: 8px;
}

.faq-cta {
  margin: 8px 0 0;
}

.structured-article {
  max-width: 940px;
  font-size: 17px;
  line-height: 1.85;
}

.structured-article h2 {
  margin-top: 38px;
  font-size: clamp(28px, 3vw, 42px);
}

.structured-article h3 {
  margin-top: 24px;
  font-size: 24px;
}

.structured-article ul {
  padding-left: 24px;
}

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

.article-index-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: .2s ease;
}

.article-index-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(20, 34, 42, .12);
}

.article-index-card small {
  color: var(--brand);
  font-weight: 900;
}

.article-index-card h2 {
  margin: 18px 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.article-index-card p {
  color: var(--muted);
  line-height: 1.75;
}

.footer {
  padding: 44px 0;
  color: #d7e2e6;
  background: #10232c;
}

.footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.footer-legal {
  width: min(100% - 32px, var(--max));
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aebcc2;
  font-size: 14px;
  text-align: center;
}

.footer-legal a {
  color: #d7e2e6;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

.footer .small {
  color: #aebcc2;
}

@media (max-width: 1040px) {
  .buyer-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .authority-note-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .trust-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-toc {
    position: static;
  }

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

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .logo {
    width: 100%;
    max-width: 100%;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-inner {
    padding: 86px 0 58px;
  }

  .grid.three,
    .grid.two,
    .buyer-grid,
    .resource-grid,
    .article-index-grid,
    .specs,
    .footer-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero-inner,
  .container {
    width: calc(100vw - 32px);
    max-width: 358px;
  }

  .logo span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h2 {
    max-width: 100%;
    font-size: 26px;
  }

  .intro {
    max-width: 100%;
    font-size: 17px;
  }

  .hero p {
    max-width: 100%;
    font-size: 18px;
  }

  .banner h1,
  .banner p {
    width: 300px;
    max-width: calc(100vw - 96px);
  }

  .banner p {
    font-size: 17px;
  }

  .hero .eyebrow {
    font-size: 12px;
    line-height: 1.4;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 10px 14px;
  }

  .quote-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
}


/* 2026-05-28 English AI footer and discovery links */
.ai-footer-grid {
  grid-template-columns: 1.35fr 1fr 1.15fr 1.45fr;
}
.ai-footer-en .small {
  line-height: 1.75;
}
.ai-footer-en strong {
  color: #fff;
}
.ai-footer-en p {
  line-height: 1.8;
}
@media (max-width: 1040px) {
  .ai-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 840px) {
  .ai-footer-grid {
    grid-template-columns: 1fr;
  }
}


/* 2026-05-29 customer content */
.buyer-alert {
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #fff8ec;
  color: var(--ink);
}
.buyer-alert strong {
  color: var(--brand-dark);
}
.content .buyer-grid {
  max-width: none;
}
.table td strong {
  color: var(--brand-dark);
}
.resource-card .text-link,
.article-index-card .text-link {
  font-weight: 700;
}
