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

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

/* 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: 16px 0;
  position: sticky; top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  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: 'Instrument Serif', Georgia, serif;
  font-size: 26px; font-weight: 400;
  color: #0f172a; text-decoration: none;
  letter-spacing: -0.5px;
  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: #64748b; text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #0f172a; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; gap: 5px;
  padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #334155;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid #e2e8f0;
  padding: 12px 24px 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #334155; text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { 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: 56px 0 40px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 48px;
}
.page-header h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 52px; line-height: 1.12;
  color: #0f172a; letter-spacing: -1px;
  margin-bottom: 16px; font-weight: 400;
  background: none; -webkit-text-fill-color: unset;
  -webkit-background-clip: unset; background-clip: unset;
}
.page-header .subtitle {
  font-size: 18px; color: #64748b;
  line-height: 1.6; 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;
  border-radius: 8px;
  overflow: hidden;
}
.data-table th {
  text-align: left; padding: 14px 16px;
  background: #f0fdfa;
  border-bottom: 2px solid #99f6e4;
  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:nth-child(even) td { background: #f8fafc; }
.data-table tr:hover td { background: #f0fdfa; }

/* 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 — Email Capture */
.cta-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 48px 40px;
  margin: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #14b8a6, #5eead4);
  border-radius: 16px 16px 0 0;
}
.cta-box h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 30px; font-weight: 400;
  color: #0f172a; margin: 0 0 10px;
  letter-spacing: -0.5px; line-height: 1.2;
}
.cta-box > p {
  color: #475569; font-size: 16px;
  line-height: 1.6; margin: 0 0 28px;
  max-width: 420px; margin-left: auto; margin-right: auto;
}
.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}
.email-input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #99f6e4;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.email-input:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.email-input::placeholder { color: #94a3b8; }
.cta-btn {
  display: block;
  width: 100%;
  background: #0d9488;
  color: #fff;
  padding: 15px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.1px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.cta-btn:hover {
  background: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,148,136,0.3);
  text-decoration: none;
}
.join-success {
  display: none;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  color: #0d9488;
  font-weight: 600;
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
}
.cta-privacy {
  margin: 12px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

/* 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; display: block;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.related-card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.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: 60px; padding: 48px 0 32px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {}
.footer-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px; font-weight: 400;
  color: #0f172a; text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 14px; color: #64748b;
  line-height: 1.6; max-width: 260px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 1.5px; color: #94a3b8;
  font-weight: 600; margin-bottom: 16px;
}
.footer-col a {
  color: #475569; text-decoration: none;
  font-size: 14px; margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #0d9488; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.footer-bottom p {
  font-size: 13px; color: #94a3b8;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: #94a3b8; text-decoration: none;
  font-size: 13px; transition: color 0.2s;
}
.footer-links a:hover { color: #0d9488; }

/* Hero (homepage) */
.hero {
  padding: 80px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  z-index: 0;
}
.hero-dots {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle, rgba(13,148,136,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.hero-badge {
  display: inline-block;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 2px; font-weight: 600;
  color: #0d9488;
  background: rgba(13,148,136,0.08);
  border: 1px solid rgba(13,148,136,0.15);
  border-radius: 100px;
  padding: 6px 20px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 56px; line-height: 1.08;
  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;
}
.hero-sub {
  font-size: 18px; color: #64748b;
  max-width: 600px; margin: 0 auto; line-height: 1.6;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px; font-weight: 400;
  color: #0d9488;
  letter-spacing: -1px;
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: 13px; color: #94a3b8;
  margin-top: 6px; font-weight: 500;
}
.hero-stat-divider {
  width: 1px; height: 40px;
  background: #e2e8f0;
}

/* Table of Contents */
.toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px; margin: 40px 0 48px;
}
.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;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
  padding: 0 24px;
}
.hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 28px;
  text-decoration: none; display: block;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s;
  position: relative;
}
.hub-card::before {
  content: '';
  position: absolute;
  top: 16px; left: 0;
  width: 3px; height: 32px;
  background: #0d9488;
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.25s;
}
.hub-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 24px rgba(13,148,136,0.08), 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-3px);
}
.hub-card:hover::before { opacity: 1; }
.hub-card-icon {
  margin-bottom: 16px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #f0fdfa;
  border-radius: 10px;
}
.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-bottom: 40px; }
.container-wide .container h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #0f172a; margin-bottom: 24px;
}

/* Fade-up scroll animation */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition-delay: calc(var(--i, 0) * 80ms);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
  .page-header h1 { font-size: 36px; }
  .page-header { padding: 40px 0 28px; margin-bottom: 32px; }
  .article h2 { font-size: 22px; margin: 40px 0 14px; }
  .article h3 { font-size: 18px; }
  .article p { font-size: 16px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .related-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .cta-box { padding: 32px 24px; }
  .cta-box h3 { font-size: 24px; }
  .hero { padding: 56px 0 36px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 20px; margin-top: 28px; padding-top: 24px; }
  .hero-stat-num { font-size: 28px; }
  .hero-stat-label { font-size: 11px; }
  .hero-stat-divider { height: 32px; }
  .toc { padding: 24px; }
  .hub-grid { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat-divider { display: none; }
}
