/* 商海国际控股 — system fonts only, no third-party assets. */

:root {
  --green: #1aac17;
  --green-dark: #148c12;
  --green-soft: #e7f6e3;
  --green-chip: #eef6ea;
  --ink: #1c2420;
  --muted: #5c675f;
  --line: rgba(26, 172, 23, 0.16);
  --paper: #f4f8f4;
  --card: #ffffff;
  --talk: #e4f4dc;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "WenQuanYi Micro Hei", "Droid Sans Fallback", sans-serif;
  --header: 72px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#home, #products, #matrix, #solutions, #process, #strengths, #faq, #contact, #wechat,
#cat-acquire, #cat-trade, #cat-member, #cat-ops, .sol {
  scroll-margin-top: 84px;
}

html[lang="en"] h1 {
  font-size: clamp(1.8rem, 3.1vw, 2.65rem);
  max-width: 14em;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  line-break: strict;
}

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

button, input, textarea { font-family: inherit; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-160%);
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus { transform: none; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.noscript-banner {
  background: #e7f6c8;
  text-align: center;
  padding: 10px 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 2px solid var(--green);
  padding-top: env(safe-area-inset-top);
}

.bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
  flex: none;
}

.logo-word { display: flex; flex-direction: column; line-height: 1.05; }
.logo-zh { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.logo-en {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-main a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  padding: 8px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-main a:hover,
.nav-main a.is-active { color: var(--green); font-weight: 700; }

.header-phone {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.header-cta,
.header-cta:visited {
  background: var(--green);
  color: #fff !important;
  border-radius: 8px;
  min-height: 46px;
  padding: 10px 16px;
  font-weight: 700;
  margin-left: 6px;
}

.header-cta:hover { background: var(--green-dark); }

.tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.lang {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang [aria-current="page"] { color: var(--green); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */

.hero {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(26, 172, 23, 0.08), transparent 60%),
    var(--paper);
  padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 80px);
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.92rem;
}

.eyebrow::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--green);
  border-radius: 2px;
}

h1, h2, h3 { text-wrap: balance; }
p, li, .lede, .section-intro, .crumbs, .footer-grid p {
  text-wrap: pretty;
  line-break: strict;
}
.keep { white-space: nowrap; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--green);
}

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  font-weight: 800;
  color: var(--green);
}

h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: 38em;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn,
.btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--green-dark); }

.btn-ghost,
.btn-ghost:visited {
  background: #fff;
  color: var(--green);
  border-color: #b7e0b4;
}

.btn-ghost:hover { background: var(--green-soft); }

.btn-wa,
.btn-wa:visited {
  background: #fff;
  color: var(--green);
  border-color: var(--green);
}
.btn-wa:hover { background: var(--green-soft); color: var(--green-dark); }
.btn-wa::after { content: none; }
.wa-icon { flex: none; display: block; }

button:disabled { opacity: 0.7; cursor: wait; }

/* Matrix */

.matrix {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(22, 80, 20, 0.06);
  overflow: hidden;
}

.matrix-head,
.matrix-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  font-size: 0.82rem;
}

.matrix-head { border-bottom: 1px solid var(--line); }
.matrix-foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  flex-wrap: wrap;
}

.matrix-title { margin: 0; font-weight: 700; font-size: 0.95rem; }
.kicker-en {
  color: var(--muted);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.dots { display: flex; gap: 5px; }
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9e6c4;
  display: block;
}
.dots i:first-child { background: var(--green); }

.matrix-list { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; }

.matrix-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  background: var(--green-chip);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 44px;
}

.matrix-list a:hover { background: #e3f3dc; }

.pid {
  color: var(--green);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}

.pname { font-weight: 700; }
.ptag { color: var(--green); font-size: 0.85rem; white-space: nowrap; }

.matrix-note {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Sections */

.section { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: end;
  margin: 0;
}

.section-intro {
  margin: 12px 0 0;
  max-width: 40em;
  color: var(--muted);
}

.section-label {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.section > .wrap > h2,
.block-title { margin-bottom: 12px; }

.link-more {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.link-more:hover { text-decoration: underline; }

/* Product cards */

.cat-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.cat {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: none;
}

.cat-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cat h3 { margin: 8px 0 6px; font-size: 1.35rem; line-height: 1.3; }
.cat-sub { margin: 0; color: var(--muted); }
.cat-value {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.mods {
  list-style: none;
  margin: 14px 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px 16px;
}

.mods li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.mods li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex: none;
}

.cover {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.mod-stat {
  margin: auto 0 0;
  background: var(--green-chip);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mod-stat strong {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.mod-stat span { color: var(--muted); font-weight: 700; }

/* Solutions */

.sol-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.sol,
a.sol {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

a.sol:hover { border-color: var(--green); }

.sol-toggle {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
}

.plus {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-grid;
  place-items: center;
  flex: none;
  font-weight: 700;
  position: relative;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 1px;
}

.plus::before { width: 10px; height: 2px; }
.plus::after { width: 2px; height: 10px; }
.sol.is-open .plus::after { display: none; }

.sol-tags { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.sol h3 { margin-bottom: 0; }
.sol-more { margin: 8px 0 0; color: var(--ink); }

/* Process */

.steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.steps li {
  height: 100%;
  background: var(--green-chip);
  border-radius: 16px;
  padding: 20px;
}

.step-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.steps h3 { margin: 6px 0; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

/* Advantages */

.adv-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.adv {
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
}

.adv-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.adv h3 { margin: 8px 0; font-size: 1.15rem; }
.adv p { margin: 0; color: var(--muted); }

/* FAQ */

.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq {
  height: 100%;
  background: var(--green-chip);
  border-radius: 16px;
  padding: 20px;
}

.faq h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq p { margin: 0; color: var(--muted); }

/* Contact */

.talk {
  background: var(--talk);
  padding: 64px 0;
}

.talk-intro { max-width: 40em; margin-bottom: 24px; }
.talk-intro h2 { max-width: 14em; }
.talk-intro .section-intro { margin-top: 12px; }

.talk-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.contact-card,
.consult-form {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(22, 80, 20, 0.06);
}

.contact-card { justify-content: flex-start; gap: 16px; }

.phone-label { margin: 0; color: var(--muted); font-size: 0.875rem; }

.phone-lg,
.phone-lg:visited {
  display: inline-flex;
  margin-top: 2px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.03em;
  min-height: 44px;
  align-items: center;
}

.phone-lg:hover { color: var(--green); }

.address { margin: 8px 0 0; color: var(--muted); }

.qr-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  margin: 0;
  padding: 18px 16px;
  background: var(--green-chip);
  border-radius: 12px;
  text-align: center;
}

.qr {
  width: 172px;
  height: 172px;
  margin: 0;
  object-fit: contain;
  background: #fff;
}

.qr-panel .qr-caption { margin: 0; font-weight: 700; }

.promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.promises li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.promises li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

.contact-actions,
.form-submit { margin-top: auto; }

.form-submit { padding-top: 12px; }

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 26px;
}

.contact-actions .btn { width: 100%; margin: 0; font-size: 14px; padding: 10px 8px; }

.consult-form .field:last-of-type { margin-bottom: 0; }

.form-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  text-align: center;
}
.field + .field { margin-top: 12px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }

.field input,
.field textarea {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5ddd4;
  border-radius: 8px;
  padding: 12px 12px;
  min-height: 48px;
}

.field textarea { min-height: 110px; resize: vertical; display: block; }
.field input::placeholder,
.field textarea::placeholder { color: #7d877f; opacity: 1; }

.consult-form .btn { width: 100%; margin-top: 0; }

.form-note {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 10px;
  line-height: 1.6;
}

.form-note[data-kind="guide"] { background: #f8f1de; color: #3d3118; }
.form-note[data-kind="ok"] { background: #e7f3ee; color: #14382c; }
.form-note[data-kind="err"] { background: #f8ece8; color: #6d2c22; }

/* Footer */

.site-footer { background: #fff; padding: 36px 0 20px; border-top: 1px solid #edf2ec; }

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

.footer-brand { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.footer-role { margin: 0 0 8px; color: var(--green); font-weight: 700; }
.site-footer h3 { margin: 0 0 8px; font-size: 0.95rem; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.muted { color: var(--muted); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #edf2ec;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom p { margin: 0; }

/* Mobile dock */

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  grid-template-columns: 1fr 1fr;
}

.dock a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  color: var(--green);
}

.dock a + a { border-left: 1px solid var(--line); }

/* Breakpoints */

@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .tools { margin-left: auto; }
  .nav-main {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 2px);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 2px solid var(--green);
    padding: 8px 16px 16px;
    box-shadow: 0 16px 30px rgba(22, 80, 20, 0.08);
  }
  .site-header.is-open .nav-main { display: flex; }
  .nav-main a { padding: 10px 4px; }
  .header-cta { margin: 8px 0 0; justify-content: center; }
}

@media (max-width: 1024px) {
  .section, .talk, .hero, .page-hero { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 800px) {
  .wrap { width: min(1160px, calc(100% - 32px)); }
  .section, .talk, .hero, .page-hero { padding-top: 40px; padding-bottom: 40px; }
  .section-head { grid-template-columns: 1fr; row-gap: 8px; }
  .hero-actions .btn,
  .qr-card .btn,
  .consult-form .btn { width: 100%; }
  .dock { display: grid; }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  .matrix-list a { grid-template-columns: auto minmax(0, 1fr); }
  .ptag { grid-column: 2; }
  .contact-actions { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .promises { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact-actions { grid-template-columns: 1fr; }
}

@media (min-width: 720px) {
  .mods { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .link-grid.cols-3, .link-grid.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (min-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .adv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .talk-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (min-width: 1041px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Inner pages */

.page-hero { background: var(--paper); padding: 48px 0 20px; }
.page-hero + .section,
.page-hero + .talk { padding-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 16px; color: var(--muted); font-size: 0.875rem; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lede, .section-intro, .lede, .sol-more, .sol-tags, .panel h3, .line-card p {
  max-width: 40em;
  text-wrap: pretty;
}

.panel-grid, .link-grid { display: grid; gap: 16px; margin-top: 24px; }
.panel {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.panel h3 { margin-bottom: 8px; }
.panel p, .panel li { color: var(--muted); }
.panel ul { margin: 0; padding-left: 1.1em; }
.panel li + li { margin-top: 6px; }

a.line-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
a.line-card:hover { border-color: var(--green); }
a.line-card strong { font-size: 1.05rem; }
a.line-card span { color: var(--green); font-size: 0.875rem; font-weight: 700; }
a.line-card p { margin: 0; color: var(--muted); }

.member-band {
  background: var(--green);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-top: 16px;
}
.member-band h2, .member-band p { color: #fff; }
.member-band p { margin: 8px 0 0; max-width: 40em; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tint, var(--green-chip));
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 700;
}
.chip:hover { border-color: var(--green); color: var(--green); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.cta-row .btn { flex: none; }

.check { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.check li { display: flex; gap: 8px; }
.check li::before { content: "✓"; color: var(--green); font-weight: 800; }

@media (min-width: 720px) {
  .panel-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .link-grid.cols-3, .link-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 900px) {
  .panel-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .cta-row { align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

/* News, summaries, quotable Q&A */

#latest, #summary { scroll-margin-top: 84px; }

.news-grid, .related-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.news-card:hover { border-color: var(--green); }
.news-card h3 { margin: 0; font-size: 1.125rem; line-height: 1.45; }
.news-card p { margin: 0; color: var(--muted); }
.news-card time { color: var(--muted); font-size: 0.875rem; }
.news-cat {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-chip);
  color: var(--green-dark);
  font-size: 0.8125rem;
  font-weight: 700;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.filter {
  font: inherit;
  font-weight: 700;
  min-height: 46px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.filter.is-on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.filter:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.section-more { margin: 24px 0 0; }
.empty-note { margin-top: 16px; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 0 0 8px; color: var(--muted); }
.prose { max-width: 42em; }
.prose h2 { margin: 1.15em 0 0.45em; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { margin: 0.6em 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.summary-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
.summary-box p { max-width: 42em; margin: 8px 0 0; }
.qa-list { display: grid; gap: 12px; margin-top: 16px; }
.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.qa h3 { margin: 0 0 6px; font-size: 1.02rem; }
.qa p { margin: 0; color: var(--muted); max-width: 42em; }
.related h2 { margin-bottom: 0; }

@media (min-width: 720px) {
  .news-grid, .related-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .qa-list { grid-template-columns: 1fr 1fr; }
}
