/* Unpublished Clinkless AEO draft. Local preview only. Sand / stone / ink / clay. */
:root {
  --sand: #f3ede3;
  --stone: #e8dfd0;
  --paper: #faf6ef;
  --ink: #2a241c;
  --mute: #6b6258;
  --line: #d4c8b6;
  --clay: #8c4b32;
  --clay-soft: #c4a08c;
  --max: 42rem;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  line-height: 1.55;
}
a { color: var(--clay); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }
.banner {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1.25rem;
  text-align: center;
}
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0.4rem;
}
header.site .mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
header.site .mark img {
  height: 1.7rem;
  width: auto;
  display: block;
}
header.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
}
header.site nav a { color: var(--ink); text-decoration: none; }
header.site nav a:hover { color: var(--clay); }
header.site nav a[aria-current="page"] { border-bottom: 2px solid var(--clay); }
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}
.crumbs {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--mute);
  margin: 0 0 1.2rem;
}
.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
}
.crumbs li:not(:last-child)::after { content: " ›"; color: var(--clay-soft); }
h1 {
  font-size: 2.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}
h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2.1rem 0 0.7rem;
}
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.lede {
  font-size: 1.12rem;
  margin: 0 0 1.1rem;
}
.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  margin: 1.2rem 0;
}
.note p { margin: 0; }
.tiers {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0.6rem 0 1.2rem;
}
.tiers th, .tiers td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.7rem 0.55rem 0;
}
.tiers th { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
ol.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1rem 0 1.4rem;
}
ol.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 0 0.85rem 3rem;
  border-bottom: 1px solid var(--line);
}
ol.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
details.qa {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
details.qa summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before {
  content: "▸ ";
  color: var(--clay);
  font-weight: 400;
}
details.qa[open] summary::before { content: "▾ "; }
details.qa .ans { margin: 0.45rem 0 0.3rem; color: var(--ink); }
details.qa .ans p { margin: 0 0 0.6rem; }
details.qa .ans p:last-child { margin-bottom: 0; }
.groups { margin-top: 0.4rem; }
ul.plain { padding-left: 1.15rem; }
ul.plain li { margin: 0.25rem 0; }
footer.site {
  border-top: 1px solid var(--line);
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.3rem 1.25rem 2.4rem;
  color: var(--mute);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.8rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; margin-bottom: 0.7rem; }
footer.site a { color: var(--mute); }
.placeholder {
  background: #efe4c8;
  border: 1px dashed #b08948;
  padding: 0.2em 0.35em;
  border-radius: 3px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92em;
}
