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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f7fb;
  color: #1a2a3a;
  line-height: 1.7;
}

/* ── NAV ── */
.nav {
  background: #1D3B53;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-logo {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: #4ea6ff; }
.nav-back {
  color: #a8c8e8;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav-back:hover { color: #fff; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1D3B53 0%, #2d5a7d 60%, #4472B7 100%);
  padding: 72px 32px 80px;
  text-align: center;
  color: #fff;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #a8d8ff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* ── CONTAINER ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── GUIDE GRID (index page) ── */
.guides-section {
  padding: 60px 0;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #4472B7;
  margin-bottom: 8px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: #1D3B53;
  margin-bottom: 32px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.guide-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  border: 1px solid #e8eef6;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(68,114,183,0.15);
  border-color: #4472B7;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.card-icon.blue   { background: #e8f0fb; }
.card-icon.green  { background: #e6f9ef; }
.card-icon.purple { background: #f0eaff; }
.card-icon.orange { background: #fff3e6; }
.card-icon.teal   { background: #e6f7f7; }
.card-icon.pink   { background: #ffeef5; }
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1D3B53;
}
.card-desc {
  font-size: 14px;
  color: #6b7f92;
  line-height: 1.5;
}
.card-arrow {
  margin-top: auto;
  font-size: 13px;
  color: #4472B7;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── ARTICLE PAGE ── */
.article-wrap {
  padding: 48px 0 80px;
}
.article-header {
  margin-bottom: 40px;
}
.article-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #1D3B53;
  margin-bottom: 10px;
  line-height: 1.2;
}
.article-header p {
  font-size: 16px;
  color: #6b7f92;
  max-width: 620px;
}

/* ── TIME BADGE ── */
.meta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.meta-chip {
  background: #eef3fb;
  color: #4472B7;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
}

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  position: relative;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 52px;
  bottom: -12px;
  width: 2px;
  background: #dde6f2;
}
.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #1D3B53;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  z-index: 1;
}
.step-body {
  background: #fff;
  border: 1px solid #e8eef6;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 24px;
  flex: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.step-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1D3B53;
  margin-bottom: 6px;
}
.step-body p {
  font-size: 14px;
  color: #546070;
  line-height: 1.6;
}
.step-body ul {
  margin-top: 8px;
  padding-left: 18px;
}
.step-body ul li {
  font-size: 14px;
  color: #546070;
  margin-bottom: 4px;
}

/* ── IMAGE PLACEHOLDER ── */
.img-box {
  background: #f0f4fa;
  border: 2px dashed #c0d0e8;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  margin-top: 14px;
  color: #8a9eb5;
}
.img-box .img-icon { font-size: 32px; margin-bottom: 8px; }
.img-box .img-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b87a8;
}
.img-box .img-sub {
  font-size: 12px;
  color: #a0b4c8;
  margin-top: 4px;
}

/* ── TIP BOX ── */
.tip {
  background: #fff8e6;
  border-left: 4px solid #f5a623;
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 14px;
  color: #7a5a1e;
}
.tip strong { color: #b87800; }

.info {
  background: #e8f4ff;
  border-left: 4px solid #4472B7;
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 14px;
  color: #1a3c6e;
}
.info strong { color: #2d5aaa; }

.success-box {
  background: #e6f9ef;
  border: 1px solid #b2e8c8;
  border-radius: 14px;
  padding: 20px 22px;
  text-align: center;
  margin-top: 32px;
}
.success-box .s-icon { font-size: 32px; margin-bottom: 8px; }
.success-box h3 { font-size: 16px; font-weight: 700; color: #1a6636; margin-bottom: 6px; }
.success-box p { font-size: 14px; color: #2d7a50; }

/* ── NAV FOOTER ── */
.article-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e4eaf3;
}
.nav-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid #e4eaf3;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  min-width: 180px;
}
.nav-btn:hover { border-color: #4472B7; box-shadow: 0 4px 12px rgba(68,114,183,0.1); }
.nav-btn .dir { font-size: 11px; font-weight: 600; color: #9aacbe; text-transform: uppercase; letter-spacing: 0.8px; }
.nav-btn .label { font-size: 15px; font-weight: 700; color: #1D3B53; }
.nav-btn.next { text-align: right; }

/* ── FOOTER ── */
.footer {
  background: #1D3B53;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 28px;
  font-size: 13px;
}
.footer a { color: #4ea6ff; text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .hero { padding: 52px 20px 60px; }
  .container { padding: 0 16px; }
  .guide-grid { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
  .nav-btn { min-width: unset; }
}
