/* Mild Nature — shared stylesheet. No external resources are requested. */

:root {
  --bg: #fdf9f3;
  --text: #3a3330;
  --accent: #c96f4a;
  --accent-ink: #a9532f;
  --accent-2: #7fa05f;
  --card: #f6ede0;
  --rule: #e3d5c2;
  --shadow: 0 8px 8px rgba(58, 51, 48, 0.08);
  --display: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: Georgia, "Iowan Old Style", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.68;
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent-ink); }
a:hover { color: var(--text); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  color: var(--text);
  padding: 10px 16px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  z-index: 50;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.brand span { color: var(--accent-ink); }

.menu-toggle {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 8px 14px;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--accent); }

@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .site-nav {
    flex-basis: 100%;
    display: none;
    padding-bottom: 12px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 10px; }
}
@media (min-width: 641px) {
  .menu-toggle { display: none; }
  .site-nav { display: block !important; }
}

/* ---------- meadow band ---------- */

.meadow {
  position: relative;
  background: var(--card);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0 0;
  overflow: hidden;
}

.meadow .wrap { position: relative; z-index: 2; }

.hills {
  display: block;
  width: 100%;
  height: 110px;
  margin-top: 26px;
}

.meadow h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.meadow .kicker {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 12px;
}

.meadow .standfirst { margin: 0 0 6px; }

@media (max-width: 520px) {
  .meadow h1 { font-size: 29px; }
}

/* ---------- main ---------- */

main { padding: 34px 0 10px; }

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  margin: 38px 0 12px;
}

h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  margin: 28px 0 8px;
}

p { margin: 0 0 16px; }

section { margin-bottom: 6px; }

/* ---------- step head ---------- */

.step-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.step-number {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 600;
  line-height: 0.9;
  color: var(--accent);
  flex: 0 0 auto;
}

.step-indicator {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 10px;
}

@media (max-width: 520px) {
  .step-number { font-size: 46px; }
}

/* ---------- cards, callouts, lists ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin: 24px 0;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px 26px;
  margin: 24px 0;
}

.stitched {
  border: 2px dashed var(--accent);
  border-radius: 16px;
  background: var(--bg);
  padding: 20px 22px;
  margin: 24px 0;
}

.stitched h2,
.stitched h3 { margin-top: 0; }

.disclosure {
  border: 2px dashed var(--accent);
  border-radius: 16px;
  background: var(--card);
  padding: 20px 22px;
  margin: 24px 0;
}
.disclosure h2 { font-size: 20px; margin: 0 0 10px; }
.disclosure p:last-child { margin-bottom: 0; }

.paid-note {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin: 0 0 18px;
}

ul.hoof {
  list-style: none;
  padding-left: 0;
  margin: 0 0 18px;
}

ul.hoof li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cellipse cx='4' cy='4.6' rx='2' ry='2.9' fill='%23c96f4a'/%3E%3Cellipse cx='8.5' cy='6.6' rx='1.7' ry='2.5' fill='%237fa05f'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 7px;
  background-size: 16px 16px;
}

ol { padding-left: 24px; margin: 0 0 18px; }
ol li { margin-bottom: 10px; }

ul.plain { padding-left: 24px; margin: 0 0 18px; }
ul.plain li { margin-bottom: 10px; }

.steps-list { counter-reset: s; list-style: none; padding-left: 0; }
.steps-list li {
  counter-increment: s;
  position: relative;
  padding-left: 48px;
  margin-bottom: 16px;
}
.steps-list li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  color: var(--accent);
}
.steps-list a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}

/* ---------- checklist ---------- */

.checklist { list-style: none; padding-left: 0; margin: 0 0 18px; }

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  page-break-inside: avoid;
}

.checklist .box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 6px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  background: #fff;
}

.printbtn {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 10px 18px;
  cursor: pointer;
}

/* ---------- tables ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 17px;
}

caption {
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  padding-bottom: 8px;
}

th, td {
  border: 1px solid var(--rule);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}

th {
  font-family: var(--display);
  font-weight: 600;
  background: var(--card);
}

/* ---------- glossary ---------- */

dl.glossary { margin: 0 0 18px; }
dl.glossary dt {
  font-family: var(--display);
  font-weight: 600;
  margin-top: 14px;
}
dl.glossary dd { margin: 4px 0 0; }

/* ---------- dividers ---------- */

.leaf {
  display: block;
  width: 86px;
  height: 26px;
  margin: 34px auto 10px;
}

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

/* ---------- step nav ---------- */

.stepnav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  margin-top: 34px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}

.toc {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0;
}
.toc h2 { font-size: 18px; margin: 0 0 8px; }
.toc ul { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--card);
  margin-top: 48px;
  padding: 28px 0 36px;
  font-size: 16px;
}

.pub {
  font-style: normal;
  display: block;
  margin-bottom: 14px;
  line-height: 1.5;
}
.pub span { display: block; }
.pub span:first-child {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}

.foot-links { margin: 0 0 12px; }
.foot-note { margin: 0 0 12px; font-size: 15px; }
.foot-rev { margin: 0; font-size: 15px; }

/* ---------- print ---------- */

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  .site-header,
  .site-nav,
  .meadow,
  .printbtn,
  .stepnav,
  .skip,
  .leaf,
  .toc,
  .site-footer .foot-links { display: none !important; }
  .wrap { max-width: 100%; padding: 0; }
  .card, .stitched, .hero-card {
    background: #fff;
    border: 1px solid #999;
    box-shadow: none;
    page-break-inside: avoid;
  }
  .checklist .box { border-color: #000; }
  a { color: #000; text-decoration: none; }
  h2 { page-break-after: avoid; }
  .site-footer { border-top: 1px solid #999; background: #fff; }
}
