:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --surface-soft: #f5eee9;
  --border: #ebe1d9;
  --ink: #1e1b20;
  --ink-secondary: #524b54;
  --ink-muted: #7f7582;
  --brand: #b83b5e;
  --brand-dark: #942947;
  --brand-soft: #fdf0f3;
  --accent-amber: #d97736;
  --accent-blue: #2b6cb0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(30, 27, 32, 0.04);
  --shadow-md: 0 10px 30px rgba(30, 27, 32, 0.07);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

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

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

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

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

.brand-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-tool-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn-tool-pill:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

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

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

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px 0 18px;
}

.mobile-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav-link {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  text-align: center;
}

.mobile-nav-link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

/* Announcement Banner (Homepage top full-width below nav) */
.announce-bar {
  width: 100%;
  background: linear-gradient(90deg, #fdf1f4 0%, #fff7f1 50%, #fdf1f4 100%);
  border-bottom: 1px solid #f2dce2;
}

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

.announce-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.announce-text {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.announce-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

.announce-cta:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  padding: 46px 0 42px;
  background: radial-gradient(circle at 12% 10%, rgba(184, 59, 94, 0.07), transparent 45%),
              radial-gradient(circle at 88% 20%, rgba(217, 119, 54, 0.08), transparent 40%),
              var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.28;
  font-weight: 700;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 560px;
}

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

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-city-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pill-label {
  font-size: 13px;
  color: var(--ink-muted);
}

.city-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-secondary);
  transition: all 0.18s ease;
}

.city-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lead-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3ece7;
}

.lead-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lead-card:hover .lead-cover img {
  transform: scale(1.02);
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-rose {
  background: var(--brand);
  color: #fff;
}

.lead-cover .badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.lead-body {
  padding: 20px 22px 22px;
}

.lead-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.lead-title a:hover {
  color: var(--brand);
}

.lead-summary {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Sections */
.section-block {
  padding: 42px 0;
}

.section-cities {
  padding-top: 20px;
}

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

.section-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 4px;
}

.section-head h2,
.panel-head h2,
.tools-banner-head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
}

.section-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 480px;
}

.link-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

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

/* City Cards */
.city-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.city-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.city-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dec8cf;
}

.city-card-cover {
  position: relative;
  overflow: hidden;
}

.city-card-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.city-card-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(30, 27, 32, 0.78);
  color: #fff;
  font-size: 12px;
}

.city-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.city-card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.city-card-body p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-secondary);
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--ink-secondary);
  font-size: 12px;
}

/* Tools Banner */
.tools-banner-box {
  background: linear-gradient(135deg, #271f27 0%, #3d2431 55%, #4a2a30 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.tools-banner-box .section-kicker {
  color: #f4a8ba;
}

.tools-banner-box .link-more {
  color: #ffd5df;
}

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

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

.tool-mini-card {
  display: block;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.18s ease, transform 0.18s ease;
}

.tool-mini-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.tool-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #f4a8ba;
  margin-bottom: 8px;
}

.tool-mini-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: #fff;
}

.tool-mini-card p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f3ece7;
}

.article-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.article-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-title {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.45;
}

.article-card-title a:hover {
  color: var(--brand);
}

.article-card-excerpt {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--ink-secondary);
  flex: 1;
}

/* Dual Panels */
.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.editorial-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.panel-safety {
  background: linear-gradient(180deg, #fffaf9 0%, #ffffff 100%);
  border-color: #ecd6db;
}

.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.safety-callout {
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 18px;
}

.editorial-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editorial-item {
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}

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

.editorial-item-title {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.45;
}

.editorial-item-title:hover {
  color: var(--brand);
}

.editorial-item p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* Page Hero & Category */
.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 30px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: center;
}

.page-hero h1 {
  margin: 8px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.3;
}

.page-hero-desc {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--ink-secondary);
  max-width: 680px;
}

.page-hero-art img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.cat-filter-strip,
.tool-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tool-anchor-nav {
  margin-bottom: 0;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cat-chip:hover,
.cat-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Article Detail */
.article-shell {
  padding: 32px 0 56px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin: 14px 0 22px;
}

.article-header h1 {
  margin: 12px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
}

.article-lead {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--ink-secondary);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.article-cover-figure {
  margin: 0 0 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-cover-figure img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.article-content {
  font-size: 16px;
  line-height: 1.88;
  color: #2b272d;
}

.article-content h2 {
  margin: 28px 0 12px;
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--ink);
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}

.article-content h3 {
  margin: 20px 0 8px;
  font-size: 17.5px;
  color: var(--ink);
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent-amber);
  background: #fff9f4;
  border-radius: 0 10px 10px 0;
  color: var(--ink-secondary);
}

.article-tags-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.tags-label {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.article-safety-box {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid #f2cfd8;
  font-size: 14px;
  color: var(--ink-secondary);
}

.info-article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 860px;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.side-widget h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.side-widget p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.side-tool-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-tool-links a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.side-tool-links a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.side-related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-related-item {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.side-related-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-rel-cat {
  display: inline-block;
  font-size: 11.5px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 3px;
}

.side-related-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.side-related-item:hover strong {
  color: var(--brand);
}

.side-city-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.side-city-links a {
  padding: 8px 10px;
  text-align: center;
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 13.5px;
  font-weight: 500;
}

.side-city-links a:hover {
  background: var(--brand);
  color: #fff;
}

/* Interactive Tools Page */
.tools-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.tool-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-card-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 23px;
}

.tool-card-head p {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.tool-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}

.tool-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-result {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
}

.tool-result h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--brand-dark);
}

.plan-steps {
  margin: 0 0 14px;
  padding-left: 20px;
}

.plan-steps li {
  margin-bottom: 8px;
  font-size: 14.5px;
}

.plan-tip {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  border-left: 3px solid var(--accent-amber);
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.prompt-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.prompt-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.prompt-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prompt-item p {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.prompt-item small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

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

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

.check-warn {
  background: #fff8f8;
  border-color: #f3d2d8;
}

.safety-result.is-danger {
  background: #fff1f2;
  border-color: #e11d48;
  color: #881337;
}

.safety-result.is-safe {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.quiz-questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.quiz-q {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.quiz-q p {
  margin: 0 0 10px;
  font-size: 14.5px;
}

.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quiz-opts label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-secondary);
  cursor: pointer;
}

.quiz-opts input {
  margin-top: 4px;
  accent-color: var(--brand);
}

/* 404 */
.not-found-box {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.not-found-code {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

/* Footer */
.site-footer {
  margin-top: 36px;
  background: #221d23;
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 46px 20px 36px;
}

.footer-logo-wrap {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 14px;
}

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

.footer-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-safety-note {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid #e67e99;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 15.5px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .page-hero-grid,
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tools-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .btn-tool-pill {
    display: none;
  }
  .brand-logo img {
    height: 40px;
  }
  .hero-section {
    padding: 28px 0 30px;
  }
  .section-block {
    padding: 30px 0;
  }
  .city-cards-grid,
  .articles-grid,
  .dual-grid,
  .tools-preview-grid,
  .tool-form-grid,
  .prompt-cards,
  .checklist-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tools-banner-box,
  .editorial-panel,
  .article-main,
  .tool-card,
  .info-article-card {
    padding: 20px 18px;
  }
  .announce-inner {
    gap: 8px;
  }
  .announce-text {
    font-size: 13.5px;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 25px;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
  }
  .footer-sep {
    display: none;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 4px;
  }
}
