
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --gold: #c9963b;
  --ink: #1d1d1f;
  --ink-2: #424248;
  --paper: #fbfbfd;
  --soft: #86868b;
  --hair: #ececef;
  --steel: #647f95;
  --amber: #d6a347;
  --copper: #d87154;
  --sage: #7c9c6e;
  --plum: #8b6fa8;
  --card-bg: #fafafb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  color: var(--ink); background: white; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  border-bottom: 1px solid var(--hair);
  padding: 18px 32px;
}
.brand-row {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.breadcrumb { font-size: 12px; color: var(--soft); letter-spacing: 0.04em; }
.breadcrumb a { color: var(--soft); }
.breadcrumb span { color: var(--ink); font-weight: 500; }
.back-link { color: var(--soft); font-size: 13px; }
.brand-marks { display: flex; align-items: center; gap: 12px; }
.brand-marks img { height: 22px; width: auto; }
.brand-divider { color: var(--hair); font-weight: 300; }

/* ===== Overview ===== */
.overview { max-width: 1100px; margin: 0 auto; padding: 64px 32px 96px; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.32em; color: var(--gold); font-weight: 600;
  margin-bottom: 16px;
}
.ov-headline {
  font-size: clamp(36px, 5vw, 56px); font-weight: 300; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.05; max-width: 800px;
}
.ov-tagline {
  margin-top: 16px; max-width: 700px; font-size: 17px; color: var(--ink-2); line-height: 1.5;
}
.ov-meta {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.meta-card {
  background: var(--card-bg); border-radius: 12px; padding: 20px 22px;
  border-top: 3px solid var(--meta-color, var(--soft));
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(0,0,0,0.03);
}
.meta-time { --meta-color: var(--steel); }   /* TOTAL TIME — calm blue */
.meta-crew { --meta-color: var(--sage); }    /* CREW — green */
.meta-diff { --meta-color: var(--copper); }  /* DIFFICULTY — warning warm */
.meta-edit { --meta-color: var(--gold); }    /* EDITION — house brand */
.meta-label { font-size: 10px; letter-spacing: 0.28em; color: var(--meta-color, var(--soft)); font-weight: 700; }
.meta-value { font-size: 22px; color: var(--ink); font-weight: 600; margin-top: 6px; letter-spacing: -0.01em; }
.meta-sub { font-size: 11px; color: var(--soft); margin-top: 4px; }
@media (max-width: 720px) { .ov-meta { grid-template-columns: repeat(2, 1fr); } }

.ov-list { list-style: none; margin-top: 48px; }
.ov-row {
  border-left: 4px solid var(--phase-color);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(to right, color-mix(in srgb, var(--phase-color) 6%, transparent), transparent 30%);
  transition: all 0.2s ease;
}
.ov-row:hover { background: linear-gradient(to right, color-mix(in srgb, var(--phase-color) 12%, transparent), transparent 50%); }
.ov-row:first-child { border-top-left-radius: 8px; }
.ov-row:last-child { border-bottom-left-radius: 8px; border-bottom: 1px solid var(--hair); }
.ov-link {
  display: grid;
  grid-template-columns: 60px 1fr 110px 90px;
  gap: 24px; align-items: center; padding: 18px 20px;
  color: var(--ink); text-decoration: none;
}
.ov-num {
  font-size: 30px; font-weight: 800;
  color: var(--phase-color); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.ov-title { font-size: 17px; font-weight: 500; color: var(--ink); }
.ov-lead { font-size: 13px; color: var(--soft); font-style: italic; margin-top: 3px; }
.ov-phase {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  font-size: 10px; letter-spacing: 0.16em; font-weight: 700;
  color: white; background: var(--phase-color); text-align: center;
  justify-self: end; min-width: 80px;
}
.ov-time {
  font-size: 13px; color: var(--ink-2); text-align: right;
  font-variant-numeric: tabular-nums; font-weight: 500;
}
@media (max-width: 720px) {
  .ov-link { grid-template-columns: 50px 1fr; padding: 14px 14px; }
  .ov-phase, .ov-time { display: none; }
}

/* ===== Step page ===== */
.step-page { max-width: 1100px; margin: 0 auto; padding: 48px 32px 96px; }
.step-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; color: var(--soft); font-weight: 500;
  margin-bottom: 20px;
}
.phase-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--phase-color); color: white;
  font-weight: 700; font-size: 10px; letter-spacing: 0.18em;
}
.step-eyebrow .dot { color: var(--hair); }
.step-row { display: flex; align-items: flex-start; gap: 32px; }
.step-bigno {
  font-size: 96px; font-weight: 800; line-height: 0.9;
  color: var(--phase-color); letter-spacing: -0.04em;
  min-width: 110px;
}
.step-title-wrap { flex: 1; padding-top: 16px; }
.step-title { font-size: clamp(28px, 4vw, 42px); font-weight: 300; letter-spacing: -0.018em; line-height: 1.1; }
.step-lead { font-size: 17px; color: var(--ink-2); margin-top: 12px; font-style: italic; line-height: 1.5; max-width: 700px; }
@media (max-width: 720px) {
  .step-row { flex-direction: column; gap: 16px; }
  .step-bigno { font-size: 64px; min-width: 0; }
}

.hero-figure {
  margin-top: 48px; background: var(--card-bg); border-radius: 16px; padding: 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), inset 0 0 0 1px rgba(0,0,0,0.02);
}
.hero-figure img { max-width: 100%; height: auto; }
.hero-figure figcaption {
  margin-top: 16px; display: inline-block;
  background: white; padding: 8px 18px; border-radius: 100px;
  font-size: 12px; color: var(--ink-2); font-weight: 500; letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ===== Cards ===== */
.card-grid {
  margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.card-quad {
  margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
@media (max-width: 720px) {
  .card-grid, .card-quad { grid-template-columns: 1fr; }
}
.card {
  background: var(--card-bg); border-radius: 14px; padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(0,0,0,0.025);
}
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.badge {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.badge svg { width: 20px; height: 20px; display: block; }
.card-title { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink); }
.card-body { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.card-body.italic { font-style: italic; }

.badge-sub_steps { background: var(--gold); }
.badge-specs     { background: var(--steel); }
.badge-tip       { background: var(--amber); }
.badge-watch_out { background: var(--copper); }
.badge-tools     { background: var(--sage); }
.badge-time      { background: var(--plum); }

.sub-steps { list-style: none; }
.sub-steps li { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; }
.sub-steps .num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: white; font-weight: 600; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.sub-steps .txt { flex: 1; }
.specs { list-style: none; }
.specs li { padding-left: 14px; position: relative; line-height: 1.7; }
.specs li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--steel); opacity: 0.6;
}
.time-pill {
  display: inline-block; background: var(--plum); color: white;
  padding: 6px 18px; border-radius: 100px; font-size: 14px; font-weight: 600;
}

/* ===== Step navigation ===== */
.step-nav {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.nav-prev, .nav-next {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 24px; border-radius: 14px;
  background: var(--card-bg); color: var(--ink); text-decoration: none;
  transition: background-color 0.2s ease;
}
.nav-next { text-align: right; }
.nav-prev:hover, .nav-next:hover { background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.nav-prev .lbl, .nav-next .lbl { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; }
.nav-prev .num, .nav-next .num { font-size: 22px; font-weight: 700; color: var(--phase-color, var(--gold)); letter-spacing: -0.02em; }
.nav-prev .ttl, .nav-next .ttl { font-size: 14px; color: var(--ink-2); }

/* ===== PDF CTA ===== */
.pdf-cta {
  margin-top: 48px; background: var(--ink); color: var(--paper);
  border-radius: 14px; padding: 24px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.pdf-cta-text { display: flex; flex-direction: column; gap: 4px; }
.pdf-cta-text strong { font-size: 16px; color: white; font-weight: 600; }
.pdf-cta-text span { font-size: 13px; color: rgba(255,255,255,0.7); }
.btn-pdf {
  background: var(--gold); color: white; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-decoration: none;
  white-space: nowrap;
}
.btn-pdf:hover { background: #b6852f; text-decoration: none; }
@media (max-width: 720px) {
  .pdf-cta { flex-direction: column; align-items: flex-start; }
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--hair); margin-top: 64px; padding: 32px;
  text-align: center; color: var(--soft); font-size: 12px;
}
.footer-line { letter-spacing: 0.05em; }
.footer-links { margin-top: 6px; }
.footer-links a { color: var(--soft); }

/* ===== Top chrome bar (parent-site context + single language switcher) ===== */
.top-chrome {
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
}
.top-chrome-inner {
  max-width: 1200px; margin: 0 auto; padding: 11px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  justify-content: space-between;
}
.top-host {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(240,236,230,0.85); text-decoration: none; font-weight: 500;
  letter-spacing: 0.04em;
}
.top-host:hover { text-decoration: none; color: var(--gold); }
.top-host-arrow { color: var(--gold); font-weight: 700; font-size: 13px; }

.top-langs { display: inline-flex; align-items: center; }
.lang-pills { display: inline-flex; gap: 3px; flex-wrap: wrap; }
.lang-pill {
  display: inline-block; padding: 4px 9px; border-radius: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(240,236,230,0.55); cursor: pointer; text-decoration: none;
  background: transparent;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-pill:hover { background: rgba(255,255,255,0.06); color: var(--paper); text-decoration: none; }
.lang-pill.active {
  background: var(--gold); color: var(--ink);
}

@media (max-width: 720px) {
  .top-chrome-inner { padding: 10px 16px; gap: 12px; }
  .top-host { font-size: 11px; }
}

/* ===== SEO block (landing + step footers) ===== */
.seo-block {
  margin-top: 96px; padding-top: 48px;
  border-top: 1px solid var(--hair);
  color: var(--ink-2);
}
.seo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
@media (max-width: 720px) { .seo-grid { grid-template-columns: 1fr; gap: 24px; } }
.seo-col { font-size: 14px; line-height: 1.65; }
.seo-col p { margin-bottom: 14px; }
.seo-h2 {
  font-size: 19px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 14px;
}
.seo-h3 {
  font-size: 13px; font-weight: 700; color: var(--soft);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 48px; margin-bottom: 16px;
}
.seo-list {
  list-style: none; padding: 0; margin: 0;
  font-size: 14px; line-height: 1.65;
}
.seo-list li {
  padding: 6px 0 6px 18px; position: relative;
}
.seo-list li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: 0.5;
}
.seo-list a { color: var(--ink); border-bottom: 1px solid var(--hair); }
.seo-list a:hover { color: var(--gold); border-color: var(--gold); }
.seo-list.seo-near li::before { background: var(--steel); }

.related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 720px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card-bg); border-radius: 12px; padding: 18px 22px;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--hair); transition: all 0.15s ease;
}
.related-card:hover {
  border-color: var(--gold); transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.rel-eyebrow {
  font-size: 10px; letter-spacing: 0.24em; color: var(--gold);
  font-weight: 700; text-transform: uppercase;
}
.rel-name { font-size: 16px; font-weight: 500; color: var(--ink); }
.rel-cta { font-size: 12px; color: var(--soft); margin-top: 4px; }

.seo-meta {
  margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--hair);
  font-size: 12px; line-height: 1.6; color: var(--soft);
}
.seo-meta p { margin-bottom: 8px; }
.seo-meta strong { color: var(--ink-2); font-weight: 600; }

.seo-step { margin-top: 64px; }
.seo-back-link { margin-top: 24px; font-size: 13px; }
.seo-back-link a { color: var(--gold); font-weight: 600; }
