:root {
  --blue-deep: #0E6BB3;
  --blue-hover: #0A548E;
  --blue-sky: #2EA3DC;
  --blue-tint: #EAF4FB;
  --sage: #2B7A69;
  --sage-hover: #216053;
  --sage-tint: #EAF5F1;
  --amber: #A65E0A;
  --amber-tint: #FFF7E8;
  --danger: #B42318;
  --danger-tint: #FEF3F2;

  --bg: #F6F9FB;
  --surface: #FFFFFF;
  --border: #DFEAEE;
  --border-strong: #C6D8E4;
  --ink: #162B3A;
  --ink-body: #3E5566;
  --ink-muted: #687E8F;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(14, 59, 97, 0.05);
  --shadow-md: 0 10px 30px rgba(14, 59, 97, 0.08);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--blue-hover);
}

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 0.6em;
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-deep);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-block;
  padding: 7px 11px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.is-active {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 2px 4px 2px 12px;
  width: 185px;
  flex-shrink: 0;
}

.header-search input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.header-search button {
  border: 0;
  background: var(--blue-deep);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.header-search button:hover {
  background: var(--blue-hover);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Announcement Bar (directly beneath navigation) */
.announce-bar {
  background: linear-gradient(90deg, #EBF5FC 0%, #EDF7F4 100%);
  border-bottom: 1px solid #D5E8F2;
  font-size: 0.9rem;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
}

.announce-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.announce-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.announce-quote {
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0D4B7A;
}

.announce-hotline {
  font-size: 0.86rem;
  color: var(--ink-body);
}

.announce-hotline a {
  color: var(--sage);
  font-weight: 600;
}

.announce-hotline a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: var(--blue-deep);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

.btn-sage {
  background: var(--sage);
  color: #fff;
}
.btn-sage:hover {
  background: var(--sage-hover);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  background: var(--blue-tint);
  border-color: var(--blue-sky);
  color: var(--blue-deep);
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 12% 18%, rgba(46, 163, 220, 0.12), transparent 46%),
              radial-gradient(circle at 86% 24%, rgba(43, 122, 105, 0.10), transparent 42%),
              linear-gradient(180deg, #FFFFFF 0%, #F4F9FC 100%);
  padding: 46px 0 54px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 34px;
  align-items: start;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-tint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--ink-body);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.87rem;
  color: var(--ink-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  color: var(--sage);
  flex-shrink: 0;
}

.hero-triage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.triage-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.triage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-tint);
  flex-shrink: 0;
}

.triage-header h2 {
  font-size: 1.1rem;
  margin: 0;
}

.triage-sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.triage-list {
  display: grid;
  gap: 9px;
}

.triage-item {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FAFDFE;
}

.triage-item:hover {
  border-color: var(--blue-sky);
  background: var(--blue-tint);
}

.triage-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.93rem;
  margin-bottom: 2px;
}

.triage-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--blue-deep);
}

/* Sections */
.section {
  padding: 52px 0;
}

.section-alt {
  background: #EEF5F9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-label {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-sky);
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 6px;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.section-more {
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Tools Cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tools-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  border-color: var(--blue-sky);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.tool-icon-blue { background: var(--blue-tint); color: var(--blue-deep); }
.tool-icon-cyan { background: #E5F6FD; color: #0B84B8; }
.tool-icon-sage { background: var(--sage-tint); color: var(--sage); }
.tool-icon-amber { background: var(--amber-tint); color: var(--amber); }

.tool-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 8px;
  display: inline-block;
}

.tool-card h3, .tool-card h2 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.tool-card h3 a, .tool-card h2 a {
  color: var(--ink);
}
.tool-card h3 a:hover, .tool-card h2 a:hover {
  color: var(--blue-deep);
}

.tool-card p {
  font-size: 0.9rem;
  color: var(--ink-body);
  flex: 1;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 6px;
}

.tool-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.privacy-note {
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 600;
}

/* Category Strip */
.section-categories {
  padding-top: 10px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.cat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.cat-card:hover {
  border-color: var(--blue-deep);
  background: #FAFDFF;
}

.cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cat-card h3 {
  font-size: 1rem;
  margin: 0;
}

.cat-count {
  font-size: 0.75rem;
  background: var(--blue-tint);
  color: var(--blue-deep);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.cat-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}

/* Articles Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  border-color: var(--blue-sky);
  box-shadow: var(--shadow-md);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
}

.cat-pill {
  display: inline-block;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.article-title {
  font-size: 1.08rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.article-title a {
  color: var(--ink);
}

.article-title a:hover {
  color: var(--blue-deep);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--ink-body);
  flex: 1;
  margin-bottom: 14px;
}

.article-meta-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--ink-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.read-more {
  font-weight: 600;
}

/* Spotlight & Hotlines */
.spotlight-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF6FB 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: center;
}

.spotlight-copy h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  margin-bottom: 14px;
}

.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hotline-panel {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.hotline-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--sage);
}

.hotline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hotline-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.hotline-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hl-num {
  min-width: 74px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--sage-tint);
  color: var(--sage);
  padding: 6px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

.hl-num-sm {
  font-size: 0.82rem;
}

.hotline-list strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  margin-bottom: 2px;
}

.hotline-list p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-cat {
  font-size: 0.76rem;
  background: var(--blue-tint);
  color: var(--blue-deep);
  padding: 2px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.faq-q {
  flex: 1;
  font-size: 0.98rem;
}

.faq-chevron {
  font-size: 1.25rem;
  color: var(--blue-deep);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-body);
  font-size: 0.94rem;
  border-top: 1px solid #F0F5F8;
}

.faq-answer p {
  margin: 12px 0 0;
}

/* Inner Page Banners */
.page-banner, .article-header-band {
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF6FB 100%);
  border-bottom: 1px solid var(--border);
  padding: 34px 0 36px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.page-banner h1, .article-header-band h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  margin-bottom: 10px;
}

.banner-desc {
  max-width: 780px;
  font-size: 0.98rem;
  color: var(--ink-body);
  margin: 0;
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cat-tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--ink-body);
  font-size: 0.88rem;
  font-weight: 500;
}

.cat-tab:hover, .cat-tab.is-active {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #fff;
}

/* Two-column Content Layout */
.content-with-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.article-list-vertical {
  display: grid;
  gap: 18px;
}

.article-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.article-row h2 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.article-row h2 a {
  color: var(--ink);
}
.article-row h2 a:hover {
  color: var(--blue-deep);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.tag-chip {
  font-size: 0.8rem;
  background: var(--bg);
  color: var(--ink-muted);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.tag-chip:hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
  border-color: var(--blue-sky);
}

/* Sidebar */
.content-side {
  display: grid;
  gap: 18px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.side-card-highlight {
  background: linear-gradient(180deg, #FFFFFF 0%, #EDF6FC 100%);
  border-color: #C2DFF0;
}

.side-card-warm {
  background: var(--amber-tint);
  border-color: #F2D6A2;
}

.side-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sage);
  background: var(--sage-tint);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.side-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.side-card p {
  font-size: 0.9rem;
}

.side-list {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 0.88rem;
  display: grid;
  gap: 8px;
}

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

.side-nav-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--ink-body);
  background: var(--bg);
}

.side-nav-list a:hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

/* Article Detail Prose */
.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.article-body-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.article-summary-box {
  background: var(--blue-tint);
  border-left: 4px solid var(--blue-deep);
  padding: 15px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--ink);
}

.prose {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-body);
}

.prose h2 {
  font-size: 1.32rem;
  margin-top: 1.7em;
  margin-bottom: 0.65em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.3em;
  margin-bottom: 0.5em;
  color: var(--blue-deep);
}

.prose ul, .prose ol {
  margin: 0 0 1.2em;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  background: var(--sage-tint);
  border-left: 4px solid var(--sage);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

.article-disclaimer {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--amber-tint);
  border: 1px solid #F2D6A2;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #5E3A08;
}

.article-tags {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.related-block {
  margin-top: 34px;
}

.related-block h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.related-card:hover {
  border-color: var(--blue-sky);
  background: #fff;
}

.related-card h3 {
  font-size: 0.98rem;
  margin: 8px 0 6px;
}

.related-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Interactive Scale Forms */
.scale-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

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

.scale-item:last-of-type {
  border-bottom: 0;
  margin-bottom: 10px;
}

.scale-item legend {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  width: 100%;
}

.scale-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

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

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

.scale-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  background: #FAFDFE;
  font-size: 0.88rem;
  color: var(--ink);
}

.scale-opt:hover {
  border-color: var(--blue-sky);
  background: var(--blue-tint);
}

.scale-opt input {
  accent-color: var(--blue-deep);
  margin: 0;
  flex-shrink: 0;
}

.scale-opt em {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.78rem;
  margin-left: 3px;
}

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

.alert-box {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.alert-warn {
  background: var(--amber-tint);
  border: 1px solid #F2D6A2;
  color: #6B3F05;
}

.result-panel {
  margin-top: 22px;
  background: #FFFFFF;
  border: 2px solid var(--blue-deep);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.result-score-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.result-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1;
}

.result-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.badge-ok { background: var(--sage-tint); color: var(--sage); }
.badge-mild { background: var(--blue-tint); color: var(--blue-deep); }
.badge-mod { background: var(--amber-tint); color: var(--amber); }
.badge-high { background: var(--danger-tint); color: var(--danger); }

.result-crisis {
  margin: 14px 0;
  padding: 14px 16px;
  background: var(--danger-tint);
  border: 1px solid #FECDCA;
  border-radius: 10px;
  color: var(--danger);
  font-size: 0.92rem;
}

.result-tips {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 0.94rem;
}

.result-tips li {
  margin-bottom: 6px;
}

/* Breathing Widget */
.breath-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.breath-modes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.mode-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.mode-btn.is-active {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.breath-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.breath-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #D8F0EA 0%, #EAF5F1 62%, #FFFFFF 100%);
  border: 3px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 1s ease-in-out, border-color 0.4s ease;
}

.breath-ring.phase-inhale {
  transform: scale(1.16);
  border-color: var(--blue-sky);
}

.breath-ring.phase-hold {
  transform: scale(1.16);
  border-color: var(--blue-deep);
}

.breath-ring.phase-exhale {
  transform: scale(0.88);
  border-color: var(--sage);
}

.breath-core {
  text-align: center;
}

.breath-phase {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.breath-count {
  font-size: 2.3rem;
  color: var(--sage);
  line-height: 1.1;
}

.breath-tip {
  max-width: 460px;
  font-size: 0.94rem;
  color: var(--ink-body);
  margin-bottom: 16px;
}

.breath-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.breath-cycles {
  font-size: 0.86rem;
  color: var(--ink-muted);
  margin: 0;
}

.grounding-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.grounding-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ground-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.93rem;
}

.ground-item input {
  margin-top: 4px;
  accent-color: var(--sage);
  flex-shrink: 0;
}

.grounding-done {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--sage-tint);
  color: var(--sage);
  border-radius: 10px;
  font-weight: 600;
}

/* Tables & Info Callouts */
.info-callout {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}

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

.data-table th {
  background: var(--blue-tint);
  color: var(--ink);
  font-weight: 700;
}

/* Guide & Steps */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.guide-card-primary {
  border-color: var(--sage);
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F9F6 100%);
}

.guide-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--blue-tint);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.guide-meta {
  font-size: 0.84rem;
  color: var(--sage);
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-idx {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-sky);
  margin-bottom: 8px;
}

/* Search Page & About & Empty */
.page-search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin-top: 16px;
}

.page-search-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 0.96rem;
  background: #fff;
}

.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.hot-keywords a {
  background: #fff;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.search-summary {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.empty-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
}

.empty-box-lg {
  padding: 48px 24px;
}

.about-layout {
  max-width: 860px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px;
}

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

/* Footer */
.site-footer {
  background: #102636;
  color: #C7D8E5;
  margin-top: 40px;
  padding-top: 46px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
}

.footer-logo-link {
  display: inline-block;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.footer-logo-link img {
  height: 36px;
  width: auto;
}

.footer-desc {
  font-size: 0.88rem;
  color: #B4C9D9;
  line-height: 1.7;
}

.footer-crisis {
  font-size: 0.84rem;
  color: #FDE7C2;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0;
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #B8CEDE;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 0.85rem;
  color: #9EB7C9;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.footer-bottom a {
  color: #D2E5F3;
}

.footer-bottom a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Responsive Design (including 375px mobile with zero horizontal overflow) */
@media (max-width: 1040px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-with-side {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    padding: 16px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .primary-nav.is-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-list a {
    padding: 10px 12px;
  }
  .header-search {
    width: 100%;
    margin-top: 8px;
  }
  .hero-grid,
  .spotlight-box,
  .guide-grid,
  .tools-grid-2,
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .scale-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 14px;
  }
  .brand-logo img {
    height: 36px;
  }
  .header-inner {
    min-height: 60px;
  }
  .hero-section {
    padding: 28px 0 34px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .section {
    padding: 34px 0;
  }
  .tools-grid,
  .category-strip,
  .article-grid,
  .steps-grid,
  .footer-grid,
  .scale-options,
  .scale-options-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .spotlight-box,
  .article-body-wrap,
  .about-layout,
  .scale-form,
  .breath-widget {
    padding: 18px;
  }
  .page-search-form {
    flex-direction: column;
  }
  .breath-ring {
    width: 170px;
    height: 170px;
  }
}
