/* Guide to Selling Your Letting Agency.
   Same palette and type as the acquisitions home page, set for long reading. */

:root {
  --navy:        #152744;
  --navy-deep:   #0D1A2E;
  --navy-soft:   #1E3557;
  --paper:       #F7F6F3;
  --paper-warm:  #EFEDE7;
  --ink:         #1A1D24;
  --ink-soft:    #3D434F;
  --muted:       #5E6474;
  --on-navy:     #E8ECF3;
  --on-navy-mut: #9DACC4;
  --gold:        #AD8D4D;
  --gold-light:  #C8A868;
  --rule:        #DAD7CE;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans:  ui-sans-serif, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 28px; }
a { color: var(--navy); }

/* ---------- masthead ---------- */
.masthead {
  background: var(--navy-deep);
  padding: 16px 0;
  border-bottom: 2px solid var(--gold);
}
.masthead .home {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-navy);
  text-decoration: none;
}
.masthead .home:hover { color: var(--gold-light); }

/* ---------- heroes ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 24px;
}
.eyebrow a { color: var(--gold-light); text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

.guide-hero, .art-head {
  background: var(--navy);
  background-image: linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--on-navy);
  padding: 72px 0 60px;
  border-bottom: 3px solid var(--gold);
}
.art-head { padding: 56px 0 48px; }

.guide-hero h1, .art-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.guide-hero .lede {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.45;
  color: var(--on-navy-mut);
  margin: 20px 0 0;
  max-width: 40ch;
}

/* ---------- body ---------- */
section { padding: 60px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: none; }

.art-body { padding: 56px 28px 64px; }

p { margin: 0 0 22px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  text-wrap: balance;
}
h2 .rule {
  display: block;
  width: 46px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 22px;
}

h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 40px 0 16px;
}

.byline {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  margin-top: 30px;
}

/* ---------- pull quote ---------- */
blockquote.pull {
  background: var(--navy);
  color: var(--on-navy);
  padding: 34px 30px;
  margin: 34px 0;
  border-left: 4px solid var(--gold);
}
blockquote.pull p {
  font-size: clamp(1.12rem, 2.9vw, 1.35rem);
  line-height: 1.38;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

/* ---------- contents ---------- */
.contents-section { background: var(--paper-warm); }

.partname {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 44px 0 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.partname:first-child { margin-top: 0; }

ol.contents { list-style: none; padding: 0; margin: 0; counter-reset: none; }
ol.contents li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
ol.contents .num {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  padding-top: 5px;
}
ol.contents a {
  font-size: 1.12rem;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  text-wrap: balance;
}
ol.contents a:hover { border-bottom-color: var(--gold); }
ol.contents .blurb {
  grid-column: 2;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 7px;
}

/* ---------- pager ---------- */
.pager { background: var(--paper-warm); border-top: 1px solid var(--rule); padding: 30px 0; }
.pager .wrap { display: flex; gap: 18px; justify-content: space-between; }
.pager a {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  max-width: 47%;
  border-bottom: 2px solid transparent;
}
.pager a:hover { border-bottom-color: var(--gold); }
.pager a span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}
.pager .next { text-align: right; }

/* ---------- cta + footer ---------- */
.cta { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: none; }

dl.contact { margin: 30px 0 0; }
dl.contact dt {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
dl.contact dd {
  margin: 0 0 20px;
  font-size: 1.2rem;
}
dl.contact dd a { text-decoration: none; border-bottom: 1px solid var(--gold); }

.foot {
  background: var(--navy-deep);
  color: var(--on-navy-mut);
  padding: 34px 0;
  font-family: var(--sans);
  font-size: 13px;
}
.foot p { margin: 0 0 8px; }
.foot p:last-child { margin-bottom: 0; }
.foot a { color: var(--on-navy); }

@media (max-width: 560px) {
  .pager .wrap { flex-direction: column; }
  .pager a, .pager .next { max-width: 100%; text-align: left; }
  ol.contents li { grid-template-columns: 32px 1fr; }
}
