:root {
  --ink: #14213d;
  --muted: #64748b;
  --paper: #f6f8fc;
  --surface: #ffffff;
  --line: #dfe6ef;
  --blue: #155eef;
  --blue-dark: #0c3fac;
  --cyan: #0e7490;
  --accent: #f59e0b;
  --shadow: 0 14px 40px rgba(20, 33, 61, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(21, 94, 239, .35); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(223,230,239,.9);
  backdrop-filter: blur(12px);
}

.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; white-space: nowrap; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 9px; font-size: 15px; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.site-nav a { padding: 8px 10px; color: #475569; border-radius: 8px; font-size: 14px; font-weight: 650; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); background: #eef4ff; }
.menu-toggle { display: none; padding: 8px 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: 88px 0 72px; color: #fff; background: #071b3a; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 22%, rgba(14,116,144,.55), transparent 30%), radial-gradient(circle at 15% 110%, rgba(21,94,239,.5), transparent 38%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 14px; color: #7dd3fc; font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.12; letter-spacing: -.045em; }
.hero-intro { max-width: 710px; margin: 24px 0 0; color: #cbd5e1; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; background: var(--blue); color: #fff; border-radius: 10px; font-weight: 750; }
.button:hover { background: var(--blue-dark); }
.button.secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.signal-card { padding: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; box-shadow: var(--shadow); }
.signal-card p { margin: 0; color: #e2e8f0; font-size: 16px; }
.signal-card p + p { margin-top: 18px; }
.signal-card strong { color: #fff; }

.section { padding: 66px 0; }
.section.alt { background: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 38px); line-height: 1.2; letter-spacing: -.025em; }
.section-heading p { max-width: 580px; margin: 0; color: var(--muted); }
.text-link { color: var(--blue); font-weight: 750; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-height: 210px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 18px rgba(20,33,61,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); border-color: #b8c8e3; box-shadow: var(--shadow); }
.card-kicker { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.card h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.empty { display: flex; min-height: 95px; align-items: center; justify-content: center; margin-top: 18px; color: #94a3b8; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; font-size: 14px; }
.feature-card { min-height: 245px; padding: 30px; color: #fff; border-radius: var(--radius); background: linear-gradient(135deg, #102a56, #0e7490); box-shadow: var(--shadow); }
.feature-card:nth-child(2) { background: linear-gradient(135deg, #172554, #155eef); }
.feature-card h3 { margin: 12px 0; font-size: 25px; }
.feature-card p { color: #dbeafe; }
.feature-card .text-link { color: #fff; }

.homepage .section { padding: 30px 0; }
.homepage .section-heading { margin-bottom: 16px; }
.homepage .section-heading h2 { font-size: clamp(24px, 3vw, 32px); }
.home-hero { padding: 20px 0 22px; }
.home-hero .eyebrow { margin-bottom: 5px; font-size: 11px; }
.home-hero h1 { max-width: 820px; font-size: clamp(29px, 3.8vw, 44px); line-height: 1.18; }
.home-hero .hero-intro { max-width: 900px; margin-top: 9px; font-size: clamp(14px, 1.5vw, 16px); line-height: 1.6; }
.observation-status { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; color: #93a8c5; font-size: 11px; }
.observation-status span + span::before { content: "·"; margin-right: 18px; color: #5f7b9f; }
.today-section { padding: 20px 0 24px !important; }
.today-heading { margin-bottom: 12px !important; }
.today-heading .eyebrow { display: none; }
.today-heading h2 { margin-bottom: 3px; }
.today-card { min-height: 138px; padding: 17px 19px; border-top: 3px solid var(--blue); }
.today-card:nth-child(2) { border-top-color: var(--cyan); }
.today-card:nth-child(3) { border-top-color: var(--accent); }
.today-card h3 { margin: 7px 0 10px; font-size: 18px; }
.compact-status { padding-top: 9px; color: #64748b !important; border-top: 1px solid var(--line); font-size: 13px; }
.compact-feed { display: grid; }
.compact-feed-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 7px; padding: 6px 0; border-top: 1px solid var(--line); }
.compact-feed-item:first-child { border-top: 0; padding-top: 0; }
.compact-feed-copy { display: grid; min-width: 0; gap: 1px; }
.compact-feed-copy strong { overflow: hidden; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.compact-feed-copy > span { color: #94a3b8; font-size: 10px; }
.compact-feed-item:hover strong { color: var(--blue); }
.approved-candidate-item { margin-inline: -5px; padding-inline: 5px; background: linear-gradient(90deg, #f0fdf4, transparent 70%); border-radius: 7px; }
.candidate-tags { display: flex !important; flex-wrap: wrap; gap: 3px; margin-top: 3px; color: inherit !important; }
.candidate-tag { display: inline-flex; align-items: center; min-height: 16px; padding: 1px 5px; border-radius: 999px; font-size: 8px; font-weight: 800; line-height: 1.2; }
.tag-reviewed { color: #166534; background: #dcfce7; }
.tag-source { color: #075985; background: #e0f2fe; }
.tag-candidate { color: #4338ca; background: #e0e7ff; }
.tag-sample { color: #64748b; background: #eef2f7; }
.explainer-title { display: -webkit-box; overflow: hidden; margin-bottom: 4px; font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.explainer-summary { display: -webkit-box; overflow: hidden; color: #7c8ba1; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.category-card { min-height: 150px; padding: 17px 18px; }
.category-card h3 { margin: 6px 0 3px; font-size: 18px; }
.category-card p { font-size: 13px; line-height: 1.55; }
.category-card .card-kicker b { font: inherit; }
.category-card > .safe-visual { margin-bottom: 7px; }
.category-status { display: -webkit-box; overflow: hidden; margin-top: 9px; color: #64748b; font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.trend-list { margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; list-style: none; counter-reset: latest; overflow: hidden; }
.trend-list li { min-height: 44px; display: grid; grid-template-columns: 34px 22px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 16px; border-bottom: 1px solid var(--line); counter-increment: latest; }
.trend-list li:last-child { border-bottom: 0; }
.trend-list li::before { content: counter(latest, decimal-leading-zero); color: #94a3b8; font-size: 12px; font-weight: 750; }
.trend-list strong { font-size: 14px; }
.trend-list > li > span:last-child { color: #94a3b8; font-size: 13px; }
.trend-row-copy { min-width: 0; }
.trend-row-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trend-row-link:hover { color: var(--blue); }
.approved-trend-row { padding-left: 7px; border-left: 2px solid #22c55e; }
.published-home-section { border-top: 1px solid #eef2f7; }
.published-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.published-home-card { min-width: 0; padding: 16px 17px; background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.published-home-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #7c8ba1; font-size: 10px; }
.published-home-card h3 { margin: 8px 0 5px; font-size: 17px; line-height: 1.4; }
.published-home-note { display: -webkit-box; overflow: hidden; min-height: 38px; margin: 0 0 10px; color: #64748b; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.published-home-link { color: var(--blue); font-size: 11px; font-weight: 800; }
.published-home-link:hover { text-decoration: underline; }
.published-home-footer { margin-top: 12px; text-align: right; }
.published-home-empty { grid-column: 1 / -1; margin: 0; padding: 14px; color: #94a3b8; background: #f8fafc; border-radius: 9px; font-size: 12px; text-align: center; }
.guides-home-section { border-top: 1px solid #e8eef6; }
.guide-home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.guide-home-card { min-width: 0; padding: 16px 17px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 18px rgba(20,33,61,.035); }
.guide-home-card:hover { border-color: #b8c8e3; box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-home-card span { color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.guide-home-card strong { display: block; margin: 7px 0 5px; font-size: 15px; line-height: 1.35; }
.guide-home-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #64748b; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

.signal-visual {
  --sv-a: #155eef;
  --sv-b: #0e7490;
  --sv-c: #22d3ee;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 124px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.62), transparent 18%),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--sv-c) 42%, transparent), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--sv-a) 18%, #fff), color-mix(in srgb, var(--sv-b) 14%, #fff));
  box-shadow: 0 14px 34px rgba(20, 33, 61, .08);
}
.signal-visual::before,
.signal-visual::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  opacity: .72;
  pointer-events: none;
}
.signal-visual::before {
  background:
    linear-gradient(90deg, rgba(21,94,239,.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(21,94,239,.1) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(135deg, #000, transparent 76%);
}
.signal-visual::after {
  border: 1px solid color-mix(in srgb, var(--sv-a) 30%, transparent);
  border-radius: 999px;
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--sv-a) 9%, transparent),
    0 0 0 38px color-mix(in srgb, var(--sv-c) 7%, transparent),
    inset 0 0 26px color-mix(in srgb, var(--sv-b) 10%, transparent);
  transform: translate(38%, -34%);
}
.signal-visual .visual-core {
  position: absolute;
  inset: auto 18px 16px 18px;
  display: grid;
  gap: 8px;
}
.signal-visual .visual-title {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: color-mix(in srgb, var(--sv-a) 86%, #0f172a);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.signal-visual .visual-line {
  height: 34px;
  background:
    linear-gradient(135deg, transparent 0 12%, var(--sv-a) 12% 15%, transparent 15% 30%, var(--sv-b) 30% 33%, transparent 33% 48%, var(--sv-c) 48% 51%, transparent 51% 100%);
  filter: drop-shadow(0 6px 10px color-mix(in srgb, var(--sv-a) 20%, transparent));
  opacity: .82;
}
.signal-visual.weather { --sv-a: #0369a1; --sv-b: #0e7490; --sv-c: #38bdf8; }
.signal-visual.weather::before {
  background:
    radial-gradient(circle at 28% 28%, rgba(3,105,161,.24) 0 6px, transparent 7px),
    radial-gradient(circle at 38% 42%, rgba(14,116,144,.19) 0 10px, transparent 11px),
    repeating-linear-gradient(105deg, transparent 0 12px, rgba(3,105,161,.18) 13px 15px);
}
.signal-visual.finance { --sv-a: #047857; --sv-b: #15803d; --sv-c: #34d399; }
.signal-visual.finance::before {
  background:
    linear-gradient(90deg, rgba(4,120,87,.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(4,120,87,.12) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 35%, rgba(4,120,87,.45) 35% 38%, transparent 38% 51%, rgba(52,211,153,.55) 51% 54%, transparent 54%);
  background-size: 18px 18px, 18px 18px, auto;
}
.signal-visual.sports { --sv-a: #b45309; --sv-b: #ea580c; --sv-c: #fbbf24; }
.signal-visual.sports::before {
  border: 2px solid rgba(180,83,9,.18);
  background:
    linear-gradient(90deg, transparent 49%, rgba(180,83,9,.25) 50%, transparent 51%),
    radial-gradient(ellipse at center, transparent 0 32%, rgba(180,83,9,.22) 33% 35%, transparent 36%);
  border-radius: 14px;
}
.signal-visual.people { --sv-a: #9333ea; --sv-b: #be185d; --sv-c: #f0abfc; }
.signal-visual.people::before {
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.82) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 30%, rgba(255,255,255,.62) 0 2px, transparent 3px),
    linear-gradient(105deg, transparent 0 34%, rgba(147,51,234,.22) 35% 39%, transparent 40%),
    repeating-linear-gradient(90deg, rgba(190,24,93,.15) 0 3px, transparent 3px 9px);
}
.signal-visual.guides { --sv-a: #155eef; --sv-b: #4338ca; --sv-c: #22d3ee; }
.signal-visual.guides::before {
  background:
    radial-gradient(circle at 20% 34%, rgba(21,94,239,.22) 0 7px, transparent 8px),
    radial-gradient(circle at 58% 58%, rgba(67,56,202,.18) 0 6px, transparent 7px),
    radial-gradient(circle at 82% 28%, rgba(34,211,238,.26) 0 5px, transparent 6px),
    linear-gradient(28deg, transparent 0 28%, rgba(21,94,239,.26) 29% 31%, transparent 32% 58%, rgba(67,56,202,.2) 59% 61%, transparent 62%);
}
.signal-visual.links { --sv-a: #4338ca; --sv-b: #0e7490; --sv-c: #22d3ee; }
.signal-visual.compact { min-height: 76px; border-radius: 14px; box-shadow: none; }
.signal-visual.compact .visual-core { inset: auto 12px 11px 12px; gap: 4px; }
.signal-visual.compact .visual-line { height: 22px; }
.signal-visual.hero-signal {
  min-height: 190px;
  background:
    radial-gradient(circle at 20% 18%, rgba(125,211,252,.34), transparent 20%),
    radial-gradient(circle at 78% 28%, rgba(99,102,241,.34), transparent 28%),
    linear-gradient(135deg, rgba(15,23,42,.18), rgba(14,116,144,.18));
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}
.signal-visual.hero-signal::before {
  background:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.64) 0 4px, transparent 5px),
    radial-gradient(circle at 52% 45%, rgba(255,255,255,.52) 0 4px, transparent 5px),
    radial-gradient(circle at 76% 26%, rgba(255,255,255,.42) 0 4px, transparent 5px),
    linear-gradient(25deg, transparent 0 18%, rgba(255,255,255,.28) 19% 20%, transparent 21% 48%, rgba(125,211,252,.3) 49% 50%, transparent 51%);
}
.mini-sparkline {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 22px;
  vertical-align: middle;
}
.mini-sparkline::before {
  content: "";
  position: absolute;
  inset: 3px 0;
  background: linear-gradient(135deg, transparent 0 14%, var(--blue) 15% 18%, transparent 19% 38%, var(--cyan) 39% 42%, transparent 43% 62%, #22c55e 63% 66%, transparent 67%);
  opacity: .78;
}
.signal-bars {
  display: inline-flex;
  align-items: end;
  gap: 3px;
  height: 18px;
}
.signal-bars i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}
.signal-bars i:nth-child(1) { height: 7px; opacity: .55; }
.signal-bars i:nth-child(2) { height: 12px; opacity: .72; }
.signal-bars i:nth-child(3) { height: 18px; }
.signal-bars i:nth-child(4) { height: 10px; opacity: .66; }
.visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #31517a;
  background: #f2f7ff;
  border: 1px solid #dfe9f8;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.visual-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(21,94,239,.1);
}
.hero-with-image {
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 18, 45, .94), rgba(5, 18, 45, .74), rgba(5, 18, 45, .28)),
    url("/assets/images/hero-bg.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}
.hero-with-image::before { display: none; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(125,211,252,.18), transparent 26%),
    linear-gradient(180deg, rgba(5,18,45,.06), rgba(5,18,45,.24));
  pointer-events: none;
}
.home-hero .hero-content {
  position: relative;
  z-index: 1;
}
.home-hero-copy {
  max-width: 760px;
  min-width: 0;
  padding: 36px 0 34px;
}
.home-hero .eyebrow { color: #bae6fd; }
.home-hero .hero-intro { color: #e2e8f0; }
.home-hero .observation-status { max-width: 720px; color: #cbd5e1; }
.visual-story-section { background: #fff; }
.visual-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.visual-story-card {
  position: relative;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background-color: #071b3a;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(20,33,61,.12);
}
.visual-story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,27,58,.08), rgba(7,27,58,.86)),
    radial-gradient(circle at 86% 16%, rgba(125,211,252,.22), transparent 30%);
}
.visual-story-card > * { position: relative; z-index: 1; }
.visual-story-card.search-context {
  background-image: url("/assets/images/signals-connect-bg.jpg");
}
.visual-story-card.signal-links {
  background-image: url("/assets/images/analysis-principles-bg.jpg");
}
.visual-story-card h3 {
  max-width: 520px;
  margin: 12px 0 6px;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.visual-story-card p {
  max-width: 560px;
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.6;
}
.visual-story-card .visual-chip {
  width: fit-content;
  color: #e0f2fe;
  background: rgba(7,27,58,.56);
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
}
.today-card { position: relative; overflow: hidden; }
.today-visual { margin-bottom: 9px; }
.published-home-cover, .guide-home-visual { margin-bottom: 10px; }
.published-home-card { overflow: hidden; }
.guide-home-card { overflow: hidden; }
.category-visual-card { margin-bottom: 14px; }
.visual-page-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); align-items: center; gap: 30px; z-index: 1; }
.visual-page-copy { min-width: 0; }
.visual-page-art { min-width: 0; }
.draft-hero .visual-page-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
.guide-hero .visual-page-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
.content-panel .signal-visual.compact { margin-bottom: 16px; }
.placeholder.visual-empty { gap: 10px; min-height: 210px; padding: 20px; text-align: center; }
.ad-slot { display: grid; place-items: center; min-height: 42px; padding: 8px 14px; color: #7c8ba1; background: #f2f6fb; border: 1px dashed #bdcadd; border-radius: 9px; font-size: 12px; letter-spacing: .06em; text-align: center; }
.ad-band-wrap { padding: 8px 0 0; background: var(--paper); }
.ad-slot-horizontal { width: 100%; }
.ad-slot-native { min-height: 62px; grid-template-columns: minmax(0, 1fr) auto; justify-items: start; margin-top: 14px; padding: 12px 16px; text-align: left; }
.ad-slot-native small { color: #9aa8ba; font-size: 11px; letter-spacing: 0; }
.ad-bottom-wrap { padding: 10px 0 18px; background: #fff; }
.ad-page-top { margin-top: 16px; }
.article-section { padding-top: 24px; }
.ad-slot-in-article { min-height: 58px; margin: 28px 0; }
.sidebar-stack { display: grid; gap: 16px; }
.ad-slot-sidebar { min-height: 96px; }
.homepage .feature-card { min-height: 178px; padding: 21px 24px; }
.homepage .feature-card h3 { margin: 7px 0; font-size: 21px; }
.homepage .feature-card p { margin: 0 0 7px; font-size: 14px; }
.principles-section {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(34,211,238,.16), transparent 30%),
    linear-gradient(135deg, #07162f, #0b2348);
}
.principles-section .section-heading p { color: #c2d1e4; }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.principle-card {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin: 0;
  padding: 18px 20px;
  background-color: #071b3a;
  background-image: url("/assets/images/analysis-principles-bg.jpg");
  background-size: cover;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
}
.principle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,22,47,.08), rgba(7,22,47,.88)),
    radial-gradient(circle at 18% 18%, rgba(125,211,252,.2), transparent 26%);
}
.principle-card > * { position: relative; z-index: 1; }
.principle-card.principle-news { background-position: left center; }
.principle-card.principle-certainty { background-position: center; }
.principle-card.principle-review { background-position: right center; }
.principles strong { color: #fff; font-size: 18px; line-height: 1.25; }
.principles span { margin-top: 4px; color: #cbd5e1; }
.homepage .steps { gap: 14px; }
.homepage .step { padding: 18px 18px 18px 58px; }
.homepage .step::before { top: 18px; left: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: method; }
.step { position: relative; padding: 26px 24px 24px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: method; }
.step::before { content: counter(method); position: absolute; top: 24px; left: 24px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--blue); background: #eaf1ff; border-radius: 50%; font-weight: 800; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.page-hero { padding: 64px 0 50px; color: #fff; background: linear-gradient(135deg, #081d40, #123b6e); }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.2; letter-spacing: -.03em; }
.page-hero p:last-child { max-width: 720px; margin: 14px 0 0; color: #cbd5e1; font-size: 18px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(250px, .8fr); gap: 26px; align-items: start; }
.content-panel { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.content-panel h2:first-child { margin-top: 0; }
.content-panel h2 { line-height: 1.3; }
.content-panel p { color: #475569; }
.placeholder { display: grid; min-height: 240px; place-items: center; color: #94a3b8; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px; }
.loading-state { padding: 24px; color: #7c8ba1; background: #f8fafc; border-radius: 10px; text-align: center; }
.trend-results { display: grid; }
.trend-list-item { padding: 22px 0; border-top: 1px solid var(--line); }
.trend-list-item:first-child { padding-top: 4px; border-top: 0; }
.trend-list-item:last-child { padding-bottom: 0; }
.trend-list-item h3 { margin: 9px 0 7px; font-size: 21px; line-height: 1.35; }
.trend-list-item h3 a:hover { color: var(--blue); }
.trend-list-item p { margin: 0 0 12px; }
.item-meta, .detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.published-category-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 14px; }
.published-category-fields span { min-width: 0; padding: 8px 10px; background: #f8fafc; border-radius: 8px; }
.published-category-fields small { display: block; color: #94a3b8; font-size: 9px; }
.published-category-fields strong { display: block; overflow-wrap: anywhere; font-size: 12px; }
.category-open-link { min-height: 38px; padding: 0 13px; font-size: 12px; }
.category-count-note { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.category-safety-note { margin-top: 18px; padding: 15px 17px; color: #475569; background: #f8fafc; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; font-size: 13px; }
.finance-caution { margin-top: 16px; padding: 13px 15px; color: #713f12; background: #fffbeb; border: 1px solid #fef3c7; border-radius: 10px; font-size: 13px; }
.sample-badge, .heat-badge, .status-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; }
.sample-badge { color: #075985; background: #e0f2fe; }
.heat-badge { color: #9a3412; background: #ffedd5; }
.status-badge { color: #475569; background: #eef2f7; }
.safe-visual { --visual-a: #155eef; --visual-b: #0e7490; --visual-soft: #e8f1ff; color: var(--visual-a); background: var(--visual-soft); border: 1px solid rgba(100,116,139,.14); }
.visual-weather { --visual-a: #0369a1; --visual-b: #38bdf8; --visual-soft: #e0f2fe; }
.visual-finance { --visual-a: #047857; --visual-b: #34d399; --visual-soft: #dcfce7; }
.visual-sports { --visual-a: #b45309; --visual-b: #f59e0b; --visual-soft: #fef3c7; }
.visual-people { --visual-a: #a21caf; --visual-b: #e879f9; --visual-soft: #fae8ff; }
.visual-signals { --visual-a: #4338ca; --visual-b: #22d3ee; --visual-soft: #e0e7ff; }
.visual-mini { width: 22px; height: 22px; display: grid; flex: 0 0 22px; place-items: center; padding: 0; border-radius: 6px; }
.visual-mini .visual-art { display: grid; place-items: center; }
.visual-mini .visual-icon { font-size: 12px; line-height: 1; }
.visual-small { width: fit-content; min-height: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 8px; }
.visual-small .visual-art { display: grid; place-items: center; }
.visual-small .visual-icon { font-size: 14px; line-height: 1; }
.visual-label { font-size: 11px; font-weight: 750; letter-spacing: .02em; }
.visual-large { position: relative; min-height: 138px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; overflow: hidden; margin: 20px 0 0; padding: 20px; color: #fff; background: linear-gradient(135deg, var(--visual-a), var(--visual-b)); border: 0; border-radius: 14px; }
.visual-large::after { content: ""; position: absolute; width: 170px; height: 170px; top: -88px; right: -30px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.05), 0 0 0 52px rgba(255,255,255,.04); }
.visual-large .visual-art { position: absolute; inset: 0; }
.visual-large .visual-icon { position: absolute; top: 20px; left: 20px; font-size: 28px; line-height: 1; opacity: .9; }
.visual-large .visual-label, .visual-large .visual-credit { position: relative; z-index: 2; }
.visual-large .visual-label { font-size: 16px; }
.visual-credit { color: rgba(255,255,255,.72); font-size: 10px; letter-spacing: .03em; }
.visual-network { position: absolute; inset: 15px 20px 20px 48%; background: linear-gradient(25deg, transparent 47%, rgba(255,255,255,.28) 48%, rgba(255,255,255,.28) 50%, transparent 51%), linear-gradient(145deg, transparent 48%, rgba(255,255,255,.2) 49%, rgba(255,255,255,.2) 51%, transparent 52%); }
.visual-network i { position: absolute; width: 10px; height: 10px; background: #fff; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.visual-network i:nth-child(1) { top: 12%; left: 12%; }
.visual-network i:nth-child(2) { top: 62%; left: 34%; }
.visual-network i:nth-child(3) { top: 22%; right: 22%; }
.visual-network i:nth-child(4) { right: 5%; bottom: 5%; }
.item-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: #94a3b8; font-size: 12px; }
.detail-meta { margin: 20px 0 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-list { margin: 0 0 24px; padding-left: 22px; color: #475569; }
.detail-list li + li { margin-top: 7px; }
.uncertainty-note { padding: 16px 18px; background: #fff8e7; border-left: 4px solid var(--accent); border-radius: 0 9px 9px 0; }
.meta-list { margin: 0; padding: 0; list-style: none; }
.meta-list li { padding: 12px 0; color: #475569; border-bottom: 1px solid var(--line); }
.meta-list li:last-child { border-bottom: 0; }
.notice { padding: 18px 20px; color: #475569; background: #f8fafc; border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; }

.guide-hero { padding: 56px 0 44px; color: #fff; background: linear-gradient(135deg, #071b3a, #155e75); }
.guide-hero h1 { max-width: 900px; margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.16; letter-spacing: -.035em; }
.guide-hero p:last-child, .guide-hero > .container > p:not(.eyebrow) { max-width: 850px; margin: 14px 0 0; color: #dbeafe; font-size: clamp(16px, 2vw, 19px); }
.guide-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.guide-actions .text-link { color: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { min-width: 0; min-height: 230px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 22px rgba(20,33,61,.045); }
.guide-card:hover { transform: translateY(-3px); border-color: #b8c8e3; box-shadow: var(--shadow); }
.guide-card h2 { margin: 12px 0 9px; font-size: 22px; line-height: 1.28; }
.guide-card p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.65; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(250px, .8fr); gap: 24px; align-items: start; }
.guide-article, .guide-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 22px rgba(20,33,61,.035); }
.guide-article { padding: clamp(26px, 4vw, 46px); }
.guide-aside { position: sticky; top: 92px; padding: 24px; }
.guide-aside h2, .guide-section h2, .guide-takeaway h2, .guide-related h2 { margin: 0 0 9px; line-height: 1.28; }
.guide-aside p, .guide-section p, .guide-takeaway p { margin: 0; color: #475569; line-height: 1.85; }
.guide-section + .guide-section, .guide-takeaway, .guide-related { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.guide-section h2 { font-size: 24px; }
.guide-takeaway { padding: 22px 24px; color: #123b6e; background: #eef5ff; border: 1px solid #d7e5f7; border-left: 5px solid var(--blue); border-radius: 0 14px 14px 0; }
.guide-takeaway p { color: #243b61; font-size: 16px; }
.guide-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.guide-related-card { min-width: 0; padding: 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 11px; }
.guide-related-card:hover { border-color: #b8c8e3; background: #f1f7ff; }
.guide-related-card strong { display: block; margin-bottom: 5px; font-size: 13px; line-height: 1.35; }
.guide-related-card span { display: -webkit-box; overflow: hidden; color: #64748b; font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.guide-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.secondary-light { color: var(--blue); background: #eef4ff; }
.secondary-light:hover { color: #fff; }
.guide-aside-visual { margin-bottom: 16px; }

.site-footer { padding: 46px 0 26px; color: #cbd5e1; background: #07162f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer p { color: #94a3b8; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: #fff; }
.footer-title { margin: 0 0 12px; color: #fff; font-size: 14px; }
.footer-bottom { margin-top: 34px; padding-top: 20px; color: #64748b; border-top: 1px solid rgba(148,163,184,.2); font-size: 13px; }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 60px 20px; text-align: center; }
.not-found strong { display: block; color: var(--blue); font-size: clamp(80px, 16vw, 150px); line-height: 1; }
.not-found h1 { margin: 12px 0 8px; }
.not-found p { margin: 0 0 24px; color: var(--muted); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 12px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,33,61,.08); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 10px 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .signal-card { max-width: 620px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .published-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-home-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .today-card { padding: 16px; }
  .home-hero .container, .visual-page-grid, .draft-hero .visual-page-grid, .guide-hero .visual-page-grid { grid-template-columns: 1fr; }
  .hero-visual-panel .signal-visual, .visual-page-art .signal-visual { min-height: 142px; }
  .hero-with-image { min-height: 0; background-position: 58% center; }
  .visual-story-card { min-height: 220px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 64px 0 56px; }
  .section { padding: 48px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .grid, .grid.two, .grid.three, .steps, .content-layout, .footer-grid, .principles { grid-template-columns: 1fr; }
  .published-home-grid { grid-template-columns: 1fr; }
  .guide-home-grid, .guide-grid, .guide-related-grid { grid-template-columns: 1fr; }
  .guide-hero { padding: 44px 0 34px; }
  .card { min-height: 190px; }
  .homepage .section { padding: 26px 0; }
  .home-hero { padding: 18px 0 20px; }
  .hero-with-image { min-height: 0; padding: 0; background-position: 60% center; }
  .home-hero-copy { padding: 30px 0 28px; }
  .visual-story-grid { grid-template-columns: 1fr; }
  .visual-story-card { min-height: 210px; padding: 20px; }
  .observation-status { gap: 2px 12px; }
  .observation-status span + span::before { display: none; }
  .today-section { padding-top: 22px !important; }
  .today-card, .category-card { min-height: auto; }
  .trend-list li { grid-template-columns: 28px 22px minmax(0, 1fr); }
  .trend-list > li > span:last-child { grid-column: 3; margin-top: -8px; }
  .today-grid { gap: 12px; }
  .compact-feed-copy strong { white-space: normal; }
  .item-footer { display: grid; }
  .visual-large { min-height: 120px; padding: 16px; }
  .visual-large .visual-icon { top: 16px; left: 16px; }
  .ad-slot-native { grid-template-columns: 1fr; gap: 2px; }
  .published-category-fields { grid-template-columns: 1fr; }
  .ad-page-top { margin-top: 12px; }
  .article-section { padding-top: 18px; }
  .ad-slot-in-article { margin: 22px 0; }
  .ad-slot-sidebar { min-height: 64px; }
  .principle-card { min-height: 150px; }
  .page-hero { padding: 48px 0 38px; }
  .footer-grid { gap: 28px; }
  .signal-visual { min-height: 96px; }
  .signal-visual.hero-signal { min-height: 126px; }
  .signal-visual .visual-title { font-size: 9px; }
  .home-hero .container, .visual-page-grid { gap: 16px; }
}
