:root {
  color-scheme: light;
  --navy: #184a61;
  --teal: #3d746d;
  --gold: #c9a227;
  --ink: #25323a;
  --muted: #66747c;
  --line: #d9e5e2;
  --bg: #f6f8f7;
  --white: #ffffff;
  --soft: #edf7f5;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.specialty-shell {
  width: min(100%, 960px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--white);
}

.specialty-topbar {
  min-height: 60px;
  padding: 10px clamp(18px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.back-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

main {
  overflow: hidden;
}

.specialty-hero {
  min-height: 310px;
  padding: 34px clamp(20px, 5vw, 54px) 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.48fr);
  align-items: center;
  gap: 28px;
  background: #eef5f4;
}

.eyebrow,
.section-heading p {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.specialty-hero h1 {
  max-width: 620px;
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.specialty-intro {
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

.specialty-hero__visual {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
}

.risk-shield {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  border: 1px solid #bdd8d3;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
}

.risk-shield svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.specialty-hero__visual img {
  position: absolute;
  right: -4px;
  bottom: -18px;
  width: 92px;
  height: 112px;
  object-fit: contain;
}

.build-status {
  margin: 0 clamp(20px, 5vw, 54px);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.build-status > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.build-status h2 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0;
}

.build-status p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.category-section,
.public-answer-section {
  padding: 34px clamp(20px, 5vw, 54px);
}

.section-heading h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0;
}

.category-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.category-grid article {
  min-width: 0;
  min-height: 66px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.category-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.category-grid strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
}

.public-answer-section {
  border-top: 12px solid var(--bg);
}

.safe-empty-state {
  margin-top: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid #c9ded9;
  border-radius: 10px;
  background: var(--soft);
}

.safe-empty-state svg {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 10px;
  background: var(--white);
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safe-empty-state strong {
  color: var(--navy);
  font-size: 15px;
}

.safe-empty-state p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

footer {
  padding: 24px clamp(20px, 5vw, 54px) 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--navy);
  font-size: 14px;
}

footer p {
  margin: 4px 0 0;
  font-size: 12px;
}

@media (max-width: 640px) {
  .specialty-hero {
    min-height: 360px;
    padding-top: 26px;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 12px;
  }

  .specialty-hero h1 {
    font-size: 31px;
  }

  .specialty-intro {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .specialty-hero__visual {
    min-height: 150px;
  }

  .risk-shield {
    width: 100px;
    height: 100px;
  }

  .risk-shield svg {
    width: 62px;
    height: 62px;
  }

  .specialty-hero__visual img {
    right: -12px;
    bottom: 2px;
    width: 72px;
    height: 88px;
  }

  .build-status {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .specialty-hero {
    grid-template-columns: 1fr;
  }

  .specialty-hero__visual {
    display: none;
  }
}
