/* DeadHangs.com — Editorial Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Main content white panel */
.article > .container,
.article > .author-box,
.article > .sources {
  background: #ffffff;
}
.article {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  max-width: 768px;
  margin: 0 auto;
}

/* Kill the ambient orbs — clean design */
.ambient-bg { display: none; }

.content { position: relative; }
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
  padding: 14px 0;
  position: sticky; top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid #0d9488;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px; font-weight: 800;
  color: #0f172a; text-decoration: none;
  letter-spacing: 2px;
  background: none; -webkit-text-fill-color: unset;
  -webkit-background-clip: unset; background-clip: unset;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: #475569; text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: #0d9488; border-bottom-color: #0d9488; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: #94a3b8;
}
.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #0d9488; }
.breadcrumb span { margin: 0 6px; }

/* Page Header */
.page-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 40px;
}
.page-header h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 44px; line-height: 1.15;
  color: #0f172a; letter-spacing: -0.8px;
  margin-bottom: 14px; font-weight: 400;
  background: none; -webkit-text-fill-color: unset;
  -webkit-background-clip: unset; background-clip: unset;
}
.page-header .subtitle {
  font-size: 17px; color: #475569;
  line-height: 1.65; max-width: 600px;
}

/* Article Content */
.article { padding-bottom: 80px; }
.article h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #0f172a;
  margin: 56px 0 16px; padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  letter-spacing: -0.3px;
  background: none; -webkit-text-fill-color: unset;
  -webkit-background-clip: unset; background-clip: unset;
}
.article h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.article h3 {
  font-size: 20px; font-weight: 600;
  color: #1e293b; margin: 32px 0 12px;
}
.article p {
  color: #334155; font-size: 17px;
  line-height: 1.8; margin-bottom: 18px;
}
.article a {
  color: #0d9488; text-decoration: underline;
  text-decoration-color: rgba(13,148,136,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.article a:hover { text-decoration-color: #0d9488; }
.article ol, .article ul {
  margin: 16px 0 24px 24px;
  color: #334155;
}
.article ol li, .article ul li {
  margin-bottom: 10px; font-size: 17px; line-height: 1.7;
}
.article ol { list-style-type: decimal; }
.article ul { list-style-type: disc; }
.article strong { color: #0f172a; font-weight: 600; }

/* Data Table */
.data-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0 32px; font-size: 15px;
}
.data-table th {
  text-align: left; padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 600; color: #0f172a;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.data-table tr:hover td { background: #f8fafc; }

/* Callout */
.callout {
  background: #f0fdfa;
  border-left: 3px solid #0d9488;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px; margin: 28px 0;
}
.callout p { margin-bottom: 0; color: #134e4a; }

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: none;
  border-radius: 12px; padding: 40px 32px;
  margin: 48px 0; text-align: center;
}
.cta-box h3 { color: #ffffff; margin-top: 0; margin-bottom: 8px; font-size: 22px; }
.cta-box p { color: #94a3b8; margin-bottom: 24px; }
.cta-btn {
  display: inline-block;
  background: #0d9488;
  color: #fff; padding: 14px 36px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
  background: #0f766e;
  transform: translateY(-1px);
  text-decoration: none;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; color: #0f172a; font-size: 17px; margin-bottom: 8px; }
.faq-a { color: #475569; font-size: 15px; line-height: 1.7; }

/* Related Pages Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px; margin: 32px 0;
}
.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px; padding: 24px;
  text-decoration: none; transition: all 0.2s; display: block;
  border-top: 3px solid #e2e8f0;
}
.related-card:hover {
  border-color: #0d9488;
  border-top-color: #0d9488;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.related-card h3 {
  font-size: 16px; font-weight: 600;
  color: #0f172a; margin-bottom: 6px;
}
.related-card p {
  color: #64748b; font-size: 14px;
  line-height: 1.5; margin: 0;
}

/* Footer */
.footer {
  margin-top: 0; padding: 40px 0;
  border-top: 2px solid #0d9488;
  background: #0f172a;
  text-align: center; color: #94a3b8; font-size: 14px;
}

/* Hero (homepage) */
.hero {
  padding: 72px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 8px;
}
.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 52px; line-height: 1.1;
  margin-bottom: 20px; color: #0f172a;
  letter-spacing: -1.5px; font-weight: 400;
  background: none; -webkit-text-fill-color: unset;
  -webkit-background-clip: unset; background-clip: unset;
  max-width: 680px; margin-left: auto; margin-right: auto;
}
.hero-sub {
  font-size: 18px; color: #475569;
  max-width: 560px; margin: 0 auto 8px; line-height: 1.65;
}

/* Table of Contents */
.toc {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-left: 4px solid #0d9488;
  border-radius: 0 12px 12px 0;
  padding: 28px 32px; margin: 32px 0 40px;
}
.toc-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 2px; color: #94a3b8;
  margin-bottom: 16px; font-weight: 600;
}
.toc ol {
  list-style: none; counter-reset: toc; padding: 0;
}
.toc ol li {
  counter-increment: toc; margin-bottom: 8px;
}
.toc ol li a {
  color: #475569; text-decoration: none;
  font-size: 15px; transition: color 0.2s;
}
.toc ol li a:hover { color: #0d9488; }
.toc ol li a::before {
  content: counter(toc) ". ";
  color: #0d9488; font-weight: 600;
}

/* Hub Cards Grid (homepage) */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin: 40px 0;
}
.hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px; padding: 24px;
  text-decoration: none; transition: all 0.25s; display: block;
  border-left: 3px solid #e2e8f0;
}
.hub-card:hover {
  border-color: #0d9488;
  border-left-color: #0d9488;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.hub-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px; font-weight: 600;
  margin: 0 0 8px; color: #0f172a;
  background: none; -webkit-text-fill-color: unset;
  -webkit-background-clip: unset; background-clip: unset;
}
.hub-card p {
  color: #64748b; font-size: 14px;
  line-height: 1.5; margin: 0;
}

/* Container Wide (homepage explore section) */
.container-wide {
  padding: 48px 0 56px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}
.container-wide .container {
  max-width: 1100px;
}
.container-wide .container h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #0f172a; margin-bottom: 24px;
}
.container-wide .hub-grid {
  max-width: 1100px; margin-left: auto; margin-right: auto;
  padding: 0 24px;
}

/* Article Meta (author, date, review badge) */
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 20px 24px; margin-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px; color: #64748b;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.article-meta .author-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #0f172a; font-weight: 500;
}
.article-meta .author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e2e8f0; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700;
  color: #64748b;
}
.article-meta .meta-sep { color: #cbd5e1; }
.article-meta .updated-date { color: #64748b; }
.article-meta .review-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0fdfa; color: #0d9488;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  border: 1px solid rgba(13,148,136,0.2);
}
.article-meta .review-badge svg { width: 14px; height: 14px; }

/* Author Bio Box */
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 24px; margin: 48px 0 32px;
}
.author-box .author-photo {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e2e8f0; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #64748b;
}
.author-box .author-info h4 {
  font-size: 16px; font-weight: 600; color: #0f172a;
  margin-bottom: 2px;
}
.author-box .author-info .author-title {
  font-size: 13px; color: #0d9488; font-weight: 500;
  margin-bottom: 8px;
}
.author-box .author-info p {
  font-size: 14px; color: #64748b; line-height: 1.6; margin: 0;
}

/* Sources Section */
.sources {
  margin: 48px 0 32px; padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}
.sources h3 {
  font-size: 16px; font-weight: 600; color: #0f172a;
  margin-bottom: 12px; text-transform: uppercase;
  letter-spacing: 0.5px; font-size: 13px;
}
.sources ol {
  list-style: decimal; padding-left: 20px;
  color: #64748b; font-size: 14px;
}
.sources ol li {
  margin-bottom: 6px; line-height: 1.5;
}
.sources ol li a {
  color: #0d9488; text-decoration: none;
  word-break: break-word;
}
.sources ol li a:hover { text-decoration: underline; }

/* Editorial Notice */
.editorial-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 14px 18px; margin: 24px 0;
  font-size: 13px; color: #92400e; line-height: 1.5;
}
.editorial-notice svg { flex-shrink: 0; margin-top: 1px; }
.editorial-notice a { color: #92400e; font-weight: 500; }

/* Trust Bar (homepage) */
.trust-bar {
  display: flex; justify-content: center; gap: 24px;
  flex-wrap: wrap; padding: 20px 0 0; margin: 0 auto;
  max-width: 600px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: #475569;
  background: #fff; border: 1px solid #e2e8f0;
  padding: 6px 14px; border-radius: 24px;
}
.trust-item svg { width: 16px; height: 16px; color: #0d9488; flex-shrink: 0; }
.trust-item strong { color: #0f172a; font-weight: 600; }

/* Footer Enhanced */
.footer-links {
  display: flex; justify-content: center; gap: 24px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.footer-links a {
  color: #94a3b8; text-decoration: none; font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #5eead4; }

/* Inline SVG Visuals */
.visual-block {
  margin: 32px 0; text-align: center;
}
.visual-block svg {
  max-width: 100%; height: auto;
}
.visual-block .caption {
  font-size: 13px; color: #94a3b8;
  margin-top: 8px; font-style: italic;
}

/* Exercise Card */
.exercise-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  margin: 32px 0;
  transition: box-shadow 0.2s;
}
.exercise-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.exercise-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}
.exercise-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: #0d9488; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  flex-shrink: 0;
}
.exercise-header h3 {
  margin: 0; font-size: 20px; font-weight: 700;
  color: #0f172a;
}
.exercise-card p {
  color: #334155; font-size: 16px; line-height: 1.7;
  margin-bottom: 16px;
}
.exercise-card p:last-child { margin-bottom: 0; }
.exercise-card .data-table { margin: 16px 0 12px; }

/* Difficulty Badge */
.badge {
  display: inline-block;
  padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-beginner { background: #dcfce7; color: #166534; }
.badge-intermediate { background: #dbeafe; color: #1e40af; }
.badge-advanced { background: #fed7aa; color: #9a3412; }
.badge-elite { background: #fecaca; color: #991b1b; }

/* Stat Cards Row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin: 28px 0;
}
.stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
}
.stat-card .stat-value {
  font-size: 28px; font-weight: 700;
  color: #0d9488; line-height: 1.2;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  font-size: 12px; color: #64748b;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 500;
}

/* Level Indicator */
.level-bar {
  display: flex; gap: 4px; margin: 24px 0;
  border-radius: 8px; overflow: hidden;
}
.level-segment {
  flex: 1; padding: 14px 8px;
  text-align: center; font-size: 11px;
  font-weight: 600; letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: transform 0.2s;
}
.level-segment:hover { transform: scaleY(1.05); }
.level-segment.l-beginner { background: #dcfce7; color: #166534; }
.level-segment.l-novice { background: #d1fae5; color: #065f46; }
.level-segment.l-intermediate { background: #ccfbf1; color: #134e4a; }
.level-segment.l-advanced { background: #99f6e4; color: #115e59; }
.level-segment.l-elite { background: #0d9488; color: #fff; }

/* Enhanced Data Table */
.data-table { border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.data-table th {
  background: #0f172a; color: #fff;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.8px; padding: 14px 16px;
  border-bottom: none;
}
.data-table tbody tr:nth-child(even) td { background: #f8fafc; }
.data-table tbody tr:hover td { background: #f0fdfa; }

/* Compact Spec Table (for exercise cards) */
.spec-table {
  width: 100%; border-collapse: collapse;
  margin: 12px 0 8px; font-size: 14px;
}
.spec-table td {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.spec-table td:first-child {
  font-weight: 500; color: #64748b;
  width: 110px; font-size: 13px;
}

/* Section Intro Box */
.section-intro {
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1px solid #ccfbf1;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0 32px;
}
.section-intro p {
  margin: 0; color: #134e4a; font-size: 16px; line-height: 1.7;
}

/* Highlight Number */
.highlight-num {
  font-size: 48px; font-weight: 800;
  color: #0d9488; line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* FAQ Enhanced */
.faq {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.faq:hover { border-color: #0d9488; }
.faq h3 {
  font-size: 16px; font-weight: 600;
  color: #0f172a; margin: 0 0 8px;
}
.faq p {
  font-size: 15px; color: #475569;
  line-height: 1.7; margin: 0;
}

/* Breadcrumbs (alias for thin pages using .breadcrumbs class) */
.breadcrumbs {
  padding: 16px 0 0;
  font-size: 13px;
  color: #94a3b8;
}
.breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}
.breadcrumbs a:hover { color: #0d9488; }

/* Glass Card (legacy thin pages) */
.glass-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px 32px;
  margin: 32px 0;
}
.glass-card h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px; font-weight: 400;
  color: #0f172a; margin-bottom: 12px;
}
.glass-card .intro-text {
  color: #64748b; font-size: 17px;
}

/* Related Links wrapper (legacy thin pages) */
.related-links h2 {
  font-size: 22px; font-weight: 700;
  color: #0f172a; margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 768px) {
  .page-header h1 { font-size: 30px; }
  .page-header { padding: 32px 0 24px; margin-bottom: 28px; }
  .article h2 { font-size: 22px; margin: 40px 0 14px; }
  .article h3 { font-size: 18px; }
  .article p { font-size: 16px; }
  .article { border-left: none; border-right: none; }
  .nav-links { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .cta-box { padding: 28px 20px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-sub { font-size: 15px; }
  .hero { padding: 48px 0 36px; }
  .toc { padding: 24px; }
  .hub-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust-bar { gap: 16px; }
  .footer-links { gap: 16px; }
  .exercise-card { padding: 20px; margin: 24px 0; }
  .exercise-num { width: 34px; height: 34px; font-size: 14px; }
  .exercise-header h3 { font-size: 18px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-card .stat-value { font-size: 22px; }
  .level-bar { flex-wrap: wrap; }
  .level-segment { padding: 10px 6px; font-size: 10px; }
  .section-intro { padding: 18px 20px; }
  .faq { padding: 16px 18px; }
}
