@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #fbf6ee;
  --fg: #1c1814;
  --muted: #6b5e52;
  --accent: #e0682a;
  --border: #ece3d4;
  --card: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.prose { max-width: 760px; margin: 0 auto; padding: 32px 24px 80px; }

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; color: var(--fg); line-height: 1.2; }
h1 { font-size: 32px; margin: 0 0 8px; }
h1 a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 6px; }

p { margin: 10px 0; color: var(--fg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

b, strong { font-weight: 600; color: var(--fg); }

/* Tango step numbers — typically inside a div with text starting with a number */
ol, ul { padding-left: 22px; margin: 12px 0; }
li { margin: 6px 0; }

/* Header meta block at top */
body > div:first-of-type, body > div:nth-of-type(2), body > div:nth-of-type(3) {
  font-size: 13px; color: var(--muted);
}

/* Step image cards */
img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
  margin: 14px 0;
  background: var(--card);
  box-shadow: 0 8px 24px -18px rgba(28,24,20,0.35);
}

/* Numbered step blocks: Tango exports each step as a div with text + image */
.prose > div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 14px 0;
}
.prose > div:first-of-type,
.prose > div:nth-of-type(2),
.prose > div:nth-of-type(3) {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 2px 0;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }

code { background: #f0e8dc; padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
