:root {
  --bg: #f8fafc;
  --brand: #25D366; /* WhatsApp green for CTA */
  --primary: #1e293b;
  --secondary: #64748b;
  --accent: #3b82f6;
  --surface: #ffffff;
  --border: #e2e8f0;
  --wrap: 800px;
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--primary);
  background: var(--bg);
  font-size: 16px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 20px;
}

/* Header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.site-header .wrap {
  text-align: center;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.tag {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* WhatsApp CTA Button */
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Main Content */
.main {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Section Cards */
section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 24px 0 12px;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 20px 0 10px;
}

p {
  color: var(--secondary);
  margin-bottom: 16px;
}

/* Lists */
ol, ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 12px;
  color: var(--primary);
  padding-left: 8px;
}

li::marker {
  color: var(--accent);
  font-weight: 600;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Strong text */
strong {
  font-weight: 600;
  color: var(--primary);
}

/* Video Container */
.video-container {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  max-width: 100%;
}

.video-container iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 500px;
}

/* Icon preview */
.icon-preview {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  padding: 8px 16px;
  border-radius: 8px;
  margin-top: 8px;
}

.icon-preview svg {
  width: 28px;
  height: 28px;
}

/* Step numbers styling */
section ol {
  counter-reset: step-counter;
  list-style: none;
  margin-left: 0;
}

section ol > li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 48px;
  margin-bottom: 20px;
}

section ol > li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), #6366f1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

/* Nested lists reset */
section ol ol,
section ol ul {
  list-style: disc;
  margin-left: 24px;
  margin-top: 12px;
}

section ol ol > li,
section ol ul > li {
  padding-left: 8px;
  margin-bottom: 8px;
}

section ol ol > li::before,
section ol ul > li::before {
  display: none;
}

/* Unordered lists */
section > ul {
  list-style: none;
  margin-left: 0;
}

section > ul > li {
  position: relative;
  padding-left: 28px;
}

section > ul > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #94a3b8;
  text-align: center;
  padding: 24px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
  .wrap {
    padding: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .tag {
    font-size: 1rem;
  }

  section {
    padding: 24px 20px;
  }

  h2 {
    font-size: 1.25rem;
  }

  .whatsapp-cta {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  section ol > li {
    padding-left: 40px;
  }

  section ol > li::before {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
}

/* Tip boxes */
.tip-box {
  background: #f0f9ff;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

.tip-box h4 {
  margin: 0 0 8px;
  color: var(--accent);
}

.tip-box p {
  margin: 0;
  font-size: 15px;
}
