@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f9f9f7;
  --text: #212529;
  --text-light: #6b7280;
  --gold: #b8912a;
  --gold-bright: #d4af37;
  --gold-light: rgba(212, 175, 55, 0.10);
  --gold-medium: rgba(212, 175, 55, 0.25);
  --white: #ffffff;
  --warn-bg: #fdf3e7;
  --warn-border: #e0a83a;
  --radius: 18px;
  --shadow: 0 10px 30px -8px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gold-medium);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar a { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.topbar .brand { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--text); text-decoration: none; }
.topbar .brand span { color: var(--gold); }

.page-num {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

main { max-width: 880px; margin: 0 auto; padding: 40px 24px 100px; }

h1.title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}

.old-name-note {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0 0 20px;
}

.summary {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0 0 36px;
  padding-left: 16px;
  border-left: 3px solid var(--gold-bright);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 40px 0 16px;
}

.steps { display: flex; flex-direction: column; gap: 16px; }

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid var(--gold-light);
  min-height: 280px;
}
.step-card img { width: 100%; height: 100%; object-fit: contain; background: #f1f0ea; display: block; }
.step-body { padding: 20px 24px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-bright); color: #fff; font-weight: 700; font-size: 0.85rem;
  margin-right: 10px;
}
.step-title { font-weight: 700; font-size: 1.05rem; display: inline; }
.step-text { margin: 10px 0 0; color: var(--text); font-size: 0.98rem; }
.step-card.no-img { grid-template-columns: 1fr; }

.vigilance {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 12px;
}
.vigilance-title { font-weight: 700; color: #9a6a12; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.vigilance ul { margin: 0; padding-left: 20px; }
.vigilance li { margin-bottom: 4px; }

.quick-answer {
  background: var(--gold-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 12px;
}
.quick-answer .q { font-weight: 700; color: var(--gold); margin-bottom: 6px; }

.video-block { margin-top: 12px; }
.video-block video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; display: block; }
.markers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.marker-btn {
  background: var(--white); border: 1px solid var(--gold-medium); color: var(--gold);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.marker-btn:hover { background: var(--gold-bright); color: #fff; }

.pagenav {
  display: flex; justify-content: space-between; margin-top: 56px;
  padding-top: 24px; border-top: 1px solid var(--gold-medium);
}
.pagenav a {
  color: var(--text); text-decoration: none; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gold-medium);
  transition: all .15s;
}
.pagenav a:hover { background: var(--gold-light); }
.pagenav .disabled { visibility: hidden; }

@media (max-width: 640px) {
  .step-card { grid-template-columns: 1fr; }
  .step-card img { height: 280px; }
  .topbar { padding: 12px 16px; }
  .topbar .brand { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar a { font-size: 0.85rem; flex-shrink: 0; margin-left: 12px; }
}
