:root {
  --jlc-container: 1264px;
  --body: #333;
  --secondary: #4d4d4d;
  --divider: #e8eaed;
  --jlc-divider: var(--divider);
  --jlc-body: var(--body);
  --jlc-radius-sm: 8px;
  --hero-surface: #eaf1fd;
  --section-space: 70px;
  --heading-size: 32px;
}
@media (min-width: 1681px) {
  :root { --jlc-container: 1600px; --heading-size: 40px; }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; color: var(--body); font: 15px/1.75 "PingFang SC", "Microsoft YaHei", sans-serif; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2 { color: var(--jlc-ink); font-size: var(--heading-size); line-height: 1.25; }
h3 { color: var(--jlc-ink); font-size: 16px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--jlc-blue); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--jlc-blue); outline-offset: 4px; }
.wrap { width: min(calc(100% - 80px), var(--jlc-container)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 8px 12px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--jlc-surface); }
.site-header.is-scrolled { box-shadow: 0 2px 12px rgb(26 26 26 / .08); }
.nav-row { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { flex: none; }
.brand img { width: 150px; height: auto; }
.stock { border-left: 1px solid var(--divider); padding-left: 12px; color: var(--jlc-muted); font-size: 12px; white-space: nowrap; }
#nav { display: flex; justify-content: center; flex: 1; gap: clamp(12px, 2vw, 32px); }
#nav a { display: flex; align-items: center; min-height: 76px; border-bottom: 2px solid transparent; white-space: nowrap; }
#nav [aria-current] { color: var(--jlc-blue); border-color: var(--jlc-blue); }
.jlc-button { font: inherit; font-size: 14px; white-space: nowrap; }
.jlc-button:hover { color: white; }
.menu, .menu[hidden] { display: none; }
.hero {
  background: var(--hero-surface) url("assets/pale-blue-strip.png") center / cover no-repeat;
}
.hero-inner { min-height: 320px; display: grid; align-items: center; }
.hero-copy p { margin-top: 12px; font-size: 18px; }
.news { background: var(--jlc-page); padding-block: var(--section-space); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-head > a { white-space: nowrap; font-size: 14px; color: var(--jlc-blue); }
.category-links { display: flex; gap: 12px; margin: 16px 0 24px; }
.category-links [aria-current] { color: var(--jlc-blue); border-color: var(--jlc-blue); }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.news-grid article { background: var(--jlc-surface); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.news-grid img { width: 100%; height: auto; aspect-ratio: 342 / 226; object-fit: cover; }
.news-grid article > div { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.news-grid time { margin-top: auto; color: var(--jlc-muted); font-size: 13px; }
.account-links { display: flex; gap: 12px; }
.account-links .jlc-button--outline:hover { color: var(--jlc-blue); }
.nav-news { position: relative; }
.nav-news summary { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 76px; border-bottom: 2px solid var(--jlc-blue); }
.nav-news summary::-webkit-details-marker { display: none; }
.nav-news summary::after { content: "⌄"; }
.nav-options { position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--divider); border-radius: 8px; padding: 4px; }
#nav .nav-options a { min-height: 36px; padding: 0 12px; }
.site-footer h3 { margin-bottom: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 16px; }
.phone { display: block; font-size: 21px; color: var(--jlc-ink); font-weight: 600; }
@media (max-width: 1100px) {
  .stock { display: none; }
}
@media (max-width: 900px) {
  .nav-row { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; min-height: 64px; }
  .brand { margin-right: auto; }
  .menu:not([hidden]) { display: inline-flex; }
  .menu:hover { color: var(--jlc-blue); }
  #nav { flex: 1 0 100%; order: 1; flex-wrap: wrap; justify-content: start; }
  #nav a { min-height: 40px; }
  .menu:not([hidden]) ~ #nav:not(.is-open) { display: none; }
}
@media (max-width: 650px) {
  :root { --section-space: 48px; }
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 116px; }
  .footer-links { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-news summary { min-height: 40px; }
  .nav-options { position: static; }
  .account-links { gap: 6px; }
}
@media (max-width: 650px) {
  .hero-inner { min-height: 300px; align-items: start; padding-top: 28px; }
  .hero-copy p { font-size: 15px; }
  .news-grid { gap: 12px; }
  .news-grid article > div { padding: 12px; }
  .account-links .jlc-button { min-width: 0; padding-inline: 9px; }
}

.footer-benefits img { flex: none; width: 58px; height: auto; }
.site-footer .footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-social { flex-wrap: wrap; }
.footer-social img { width: 84px; height: 84px; }
@media (max-width: 650px) {
  .hero-inner { align-items: center; padding-top: 0; }
  .site-footer .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-benefits img { width: 40px; }
}
