/* ============================================================
   cocone — style.css
   Shippori Mincho × DM Mono · 和風エディトリアル
   ============================================================ */

/* ----------------------------------------------------------
   CSS Variables — Light Theme (default)
   ---------------------------------------------------------- */
:root,
body.light {
  --bg:          #faf8f4;
  --bg-alt:      #f2ede4;
  --bg-card:     #ffffff;
  --border:      #ddd8cf;
  --border-subtle: #ece8e0;
  --text:        #1a1714;
  --text-sub:    #5a534a;
  --text-muted:  #9a9088;
  --accent:      #b84a20;
  --accent-bg:   #fdf0eb;
  --accent2:     #2b6cb0;
  --accent2-bg:  #ebf4ff;
  --gold:        #c49a3c;
  --green:       #2d7d53;
  --header-bg:   rgba(250,248,244,0.92);
  --shadow:      0 2px 12px rgba(0,0,0,0.07);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --bar-a:       #b84a20;
  --bar-b:       #2b6cb0;
  --bar-avg:     #9a9088;

  --font-serif:  'Shippori Mincho', 'Noto Serif JP', serif;
  --font-mono:   'DM Mono', 'Courier New', monospace;
  --font-body:   'Noto Serif JP', serif;

  --toggle-icon: '☀';
}

/* ----------------------------------------------------------
   Dark Theme
   ---------------------------------------------------------- */
body.dark {
  --bg:          #141210;
  --bg-alt:      #1c1916;
  --bg-card:     #222019;
  --border:      #3a3530;
  --border-subtle: #2e2a25;
  --text:        #f0ece4;
  --text-sub:    #b8b0a4;
  --text-muted:  #7a726a;
  --accent:      #e07040;
  --accent-bg:   #2a1a10;
  --accent2:     #6baed6;
  --accent2-bg:  #0a1a2a;
  --gold:        #d4b060;
  --green:       #56c48b;
  --header-bg:   rgba(20,18,16,0.94);
  --shadow:      0 2px 12px rgba(0,0,0,0.4);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --bar-a:       #e07040;
  --bar-b:       #6baed6;
  --bar-avg:     #7a726a;

  --toggle-icon: '☾';
}

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.8;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  flex-shrink: 0;
}

.logo-coco {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-ne {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 0.6rem;
  letter-spacing: 0.08em;
  align-self: center;
}

.header-nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-sub);
  border-radius: 100px;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-bg);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, var(--bg) 90%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.35;
  border-radius: 2px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-search-wrap {
  position: relative;
  display: flex;
  gap: 0;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.hero-search {
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.hero-search:focus { border-color: var(--accent); }
.hero-search::placeholder { color: var(--text-muted); }

.hero-search-btn {
  padding: 0.9rem 1.6rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.hero-search-btn:hover { opacity: 0.85; }

.search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: none;
  z-index: 50;
}

.search-suggest.open { display: block; }

.suggest-item {
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border-subtle);
}

.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: var(--accent-bg); color: var(--accent); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  animation: floatY 2s ease-in-out infinite;
}

/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */
.section { padding: 5rem 0; }
.section:nth-child(even) { background: var(--bg-alt); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.section-title .accent { color: var(--accent); }

.section-sub {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 2.8rem;
}

/* ----------------------------------------------------------
   Metrics Grid
   ---------------------------------------------------------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.metric-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.metric-card:hover::before { transform: scaleX(1); }

.metric-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.metric-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Ranking Table
   ---------------------------------------------------------- */
.ranking-section,
.ranking-full-section { }

.rank-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.rank-tab {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.rank-tab.active,
.rank-tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.rank-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rank-table th {
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.rank-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.rank-table tbody tr:last-child td { border-bottom: none; }

.rank-table tbody tr:hover { background: var(--accent-bg); }

.rank-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 2rem;
  text-align: center;
}

.rank-num.top1 { color: var(--gold); font-size: 1.2rem; }
.rank-num.top2 { color: var(--text-sub); }
.rank-num.top3 { color: var(--accent); }

.rank-city-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

.rank-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
}

.rank-ratio {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.rank-ratio.high {
  background: #fee2d5;
  color: #b84a20;
}
body.dark .rank-ratio.high {
  background: #3a1a0a;
  color: #e07040;
}

.rank-ratio.low {
  background: #d1fae5;
  color: #2d7d53;
}
body.dark .rank-ratio.low {
  background: #0a2a1a;
  color: #56c48b;
}

.rank-ratio.mid {
  background: var(--bg-alt);
  color: var(--text-muted);
}

.rank-compare-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--font-body);
}

.rank-compare-btn:hover {
  border-color: var(--accent2);
  color: var(--accent2);
  background: var(--accent2-bg);
}

.rank-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   Compare CTA
   ---------------------------------------------------------- */
.compare-cta-section { background: var(--bg-alt); }

.compare-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.compare-cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.compare-cta-text h2 em {
  font-style: normal;
  color: var(--accent);
}

.compare-cta-text p {
  color: var(--text-sub);
  margin-bottom: 1.8rem;
  line-height: 1.9;
}

.compare-cta-visual {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-city-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.cta-city-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.1em;
}

.cta-city-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
}

.cta-city-value span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cta-vs {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Sources
   ---------------------------------------------------------- */
.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.source-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
}

.source-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.source-org {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.source-desc {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.source-link {
  font-size: 0.8rem;
  color: var(--accent2);
  display: inline-block;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.source-link:hover { opacity: 0.7; }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.footer-copy a:hover { border-color: var(--accent); }

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

/* ----------------------------------------------------------
   Page Hero (inner pages)
   ---------------------------------------------------------- */
.page-hero {
  padding: 5rem 2rem 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.page-title em {
  font-style: normal;
  color: var(--accent);
}

.page-desc {
  color: var(--text-sub);
  font-size: 1rem;
}

/* ----------------------------------------------------------
   Compare Page
   ---------------------------------------------------------- */
.compare-section { }

.city-selector-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.city-selector-wrap {
  flex: 1;
  min-width: 200px;
}

.selector-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.city-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-serif);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.city-select:focus { border-color: var(--accent); }

.vs-badge {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
  flex-shrink: 0;
  padding-top: 1.5rem;
}

.compare-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.summary-city {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.summary-total {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.summary-total span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-ratio {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.compare-bars {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
}

.bar-label {
  font-size: 0.82rem;
  color: var(--text-sub);
  text-align: right;
}

.bar-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bar-track {
  height: 22px;
  background: var(--border-subtle);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 40px;
}

.bar-fill.city-a { background: var(--bar-a); }
.bar-fill.city-b { background: var(--bar-b); }

.bar-val {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
  white-space: nowrap;
}

.compare-detail-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.compare-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.compare-detail-table th {
  padding: 0.85rem 1.2rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.compare-detail-table td {
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-detail-table tbody tr:last-child td { border-bottom: none; }
.compare-detail-table tbody tr:hover { background: var(--accent-bg); }

.cell-highlight-a { color: var(--bar-a); font-family: var(--font-mono); font-weight: 500; }
.cell-highlight-b { color: var(--bar-b); font-family: var(--font-mono); font-weight: 500; }
.cell-avg { color: var(--text-muted); font-family: var(--font-mono); }

.data-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* ----------------------------------------------------------
   Ranking Full Page
   ---------------------------------------------------------- */
.rank-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.rank-order-wrap {
  display: flex;
  gap: 0.4rem;
  margin-left: auto;
}

.rank-order-btn {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.rank-order-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.rank-table-full td:nth-child(3) {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   About Page
   ---------------------------------------------------------- */
.about-section { }

.about-inner {
  max-width: 780px;
}

.about-block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.about-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-block p {
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}

.about-list {
  list-style: disc;
  padding-left: 1.4rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.about-list li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.about-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
}

.sister-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.sister-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.25s;
  display: block;
}

.sister-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.sister-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sister-name { }

.sister-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.company-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.company-table th,
.company-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.company-table tbody tr:last-child th,
.company-table tbody tr:last-child td {
  border-bottom: none;
}

.company-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-alt);
  width: 180px;
  white-space: nowrap;
}

.company-table td a {
  color: var(--accent2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.company-table td a:hover { border-color: var(--accent2); }

/* ----------------------------------------------------------
   Animations
   ---------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .compare-cta-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .compare-cta-visual {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .header-nav { display: none; }

  .hero-inner { padding: 6rem 1.5rem 4rem; }

  .compare-summary { grid-template-columns: 1fr; }

  .rank-order-wrap { margin-left: 0; }

  .rank-controls { flex-direction: column; align-items: flex-start; }

  .bar-row { grid-template-columns: 80px 1fr; }

  .city-selector-row { flex-direction: column; }

  .vs-badge { padding-top: 0; }

  .section { padding: 3rem 0; }

  .page-hero { padding: 3.5rem 1.5rem 2rem; }
}
