:root {
  --color-primary: #d97706;
  --color-primary-hover: #b45309;
  --color-bg-dark: #451a03;
  --color-bg-deep: #270e02;
  --color-text-light: #ffffff;
  --color-text-muted: #fcd34d;
  --color-outin-teal: #008D96;
  --color-outin-pink: #E91E63;
  --transition-smooth: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--color-bg-deep);
  color: var(--color-text-light);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.guide-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  min-height: 44px;
  transition: var(--transition-smooth);
}

.back-link:hover {
  color: #ffffff;
}

.back-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.back-link:hover .back-arrow {
  transform: translateX(-4px);
}

.guide-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.guide-meta {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-body h2 {
  font-size: 1.45rem;
  margin: 2.25rem 0 0.9rem;
  color: var(--color-text-muted);
}

.guide-body p {
  font-size: 1.06rem;
  color: #e5e7eb;
  margin-bottom: 1.35rem;
}

.guide-body ul, .guide-body ol {
  margin: 0 0 1.5rem 1.5rem;
  color: #e5e7eb;
}

.guide-body li {
  margin-bottom: 0.65rem;
  font-size: 1.04rem;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 520px;
}

.data-table th, .data-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.data-table th {
  font-family: 'Outfit', sans-serif;
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.3);
}

.cta-box {
  margin-top: 3rem;
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.cta-box p {
  color: #d1d5db;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.65rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #ffffff;
  text-decoration: none;
  min-height: 48px;
  transition: var(--transition-smooth);
}

.btn-teal {
  background: var(--color-outin-teal);
}

.btn-pink {
  background: var(--color-outin-pink);
}

.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-cta:hover .btn-arrow {
  transform: translateX(4px);
}

.related-guides {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-guides h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.related-links {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.related-links a {
  color: #e5e7eb;
  text-decoration: underline;
  font-size: 0.98rem;
}

.related-links a:hover {
  color: var(--color-text-muted);
}

footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

footer a {
  color: var(--color-primary);
}

@media (max-width: 540px) {
  .guide-container {
    padding: 2rem 1.15rem 4rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .btn-cta {
    width: 100%;
  }
}
