:root {
  --teal: #40b9b1;
  --teal-dark: #359a93;
  --purple: #8b5cf6;
  --cream: #faf9f7;
  --light-beige: #f5f3f0;
  --soft-gray: #e8e6e3;
  --dark-gray: #4a4745;
  --charcoal: #3a3835;
  --header-bg: #f8f5e4;
  --span-text: #b18e1b;
  --shadow-soft: 0 2px 15px rgba(58, 56, 53, 0.08);
  --shadow-card: 0 8px 30px rgba(58, 56, 53, 0.12);
  --radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  background: var(--header-bg);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal);
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--teal-dark); }

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(64, 185, 177, 0.25);
}

.btn:hover { filter: brightness(1.05); }

.btn-large { padding: 0.9rem 1.8rem; font-size: 1.05rem; }

main { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

.breadcrumbs { font-size: 0.85rem; color: var(--dark-gray); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--dark-gray); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-dark); }

.tag {
  display: inline-block;
  background: var(--header-bg);
  color: var(--span-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

h1 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }

p, li { color: var(--dark-gray); font-size: 1.02rem; }

a { color: var(--teal-dark); }

.answer-box {
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.answer-box p { margin: 0; font-size: 1.05rem; }

figure { margin: 2rem 0; text-align: center; }
figure img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
figcaption { font-size: 0.85rem; color: var(--dark-gray); margin-top: 0.6rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.25rem 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.1rem 3rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--soft-gray); color: var(--dark-gray); }
th { background: var(--light-beige); color: var(--charcoal); font-weight: 600; }
tr:last-child td { border-bottom: none; }

.cta-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  text-align: center;
  margin: 3rem 0 1rem;
}
.cta-panel h2 { margin-top: 0; }
.cta-panel .micro { font-size: 0.85rem; color: var(--dark-gray); margin-top: 0.75rem; }

.related { background: var(--light-beige); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 2.5rem; }
.related h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.related ul { margin: 0; padding-left: 1.2rem; }
.related li { margin-bottom: 0.4rem; }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.guide-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.guide-card .cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--span-text); margin-bottom: 0.5rem; }
.guide-card h2 { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--charcoal); }
.guide-card p { font-size: 0.92rem; margin: 0; }

.site-footer { background: var(--light-beige); margin-top: 3rem; }
.site-footer .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--dark-gray); text-decoration: none; margin-right: 1.25rem; }
.site-footer a:hover { color: var(--charcoal); }

@media (max-width: 640px) {
  h1 { font-size: 1.7rem; }
  .site-nav a.nav-link { display: none; }
}
