:root {
  --paper: #f2f4f3;
  --white: #ffffff;
  --ink: #22292e;
  --steel: #5b6b73;
  --line: #cbd3d6;
  --accent: #2b5c6b;
  --tile: #8c7b6b;
  --focus: #e0a526;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 18px/1.65 var(--serif); color: var(--ink); background: var(--paper); }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

h1, h2, h3, label, button, .btn, nav, table, .brand, .disclosure, .byline, .small, .sources, footer, figcaption { font-family: var(--sans); }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .9rem; font-weight: 700; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 2.6rem 0 .7rem; font-weight: 650; }
h3 { font-size: 1.15rem; line-height: 1.3; margin: 1.6rem 0 .4rem; font-weight: 650; }
p, ul, ol { margin: 0 0 1rem; }
li { margin: .35rem 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.measure { max-width: 42rem; }
.narrow { max-width: 42rem; margin: 0 auto; padding: 2.4rem 16px 3rem; }

/* Header: brand, menu and the plain disclosure line */
.site { background: var(--white); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.6rem; padding-top: .9rem; padding-bottom: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.brand svg { width: 34px; height: 34px; flex: none; }
.site nav { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .95rem; }
.site nav a { color: var(--ink); text-decoration: none; padding: .2rem 0; }
.site nav a:hover { color: var(--accent); text-decoration: underline; }
.site nav .nav-request { color: var(--accent); font-weight: 600; }
.disclosure { margin: 0 auto; padding-bottom: .8rem; font-size: .85rem; color: var(--steel); }

/* Home intro with the drawing */
.intro { display: grid; gap: 1.6rem; padding-top: 2.6rem; padding-bottom: 1rem; align-items: center; }
@media (min-width: 880px) { .intro { grid-template-columns: 1.15fr .85fr; gap: 3rem; } }
.lede { font-size: 1.2rem; line-height: 1.55; }
.byline { font-size: .88rem; color: var(--steel); }
.intro-art { margin: 0; }
.intro-art svg { width: 100%; height: auto; display: block; }
figcaption { font-size: .85rem; color: var(--steel); margin-top: .4rem; }

/* Reading column */
.guide { padding-bottom: 2rem; }
.points { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.points li { margin: 0; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.points strong { font-family: var(--sans); }
.contents { font-family: var(--sans); font-size: .95rem; border-left: 3px solid var(--line); padding: .2rem 0 .2rem 1rem; margin: 1.6rem 0; }
.contents p { margin: 0 0 .3rem; font-weight: 650; }
.contents ol { margin: 0; padding-left: 1.2rem; }
.contents li { margin: .15rem 0; }
.summary { background: var(--white); border: 1px solid var(--line); padding: .6rem 1.3rem .4rem; margin: 1.6rem 0; }
.summary h2 { margin-top: .8rem; font-size: 1.2rem; }
.suburbs { columns: 2; padding-left: 1.1rem; font-family: var(--sans); }
@media (min-width: 640px) { .suburbs { columns: 3; } }

/* Tables */
.table-scroll { overflow-x: auto; margin: 1rem 0 1.2rem; }
table { border-collapse: collapse; width: 100%; min-width: 520px; background: var(--white); font-size: .92rem; line-height: 1.45; }
th, td { border-bottom: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
th { border-bottom: 2px solid var(--ink); font-weight: 650; }

/* The request form */
.request { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 1.3rem 1.3rem 1.5rem; margin: 1.2rem 0 2rem; }
.request label { display: block; margin: .8rem 0 0; font-weight: 600; font-size: .95rem; }
.request label span { font-weight: 400; color: var(--steel); }
.request input, .request select, .request textarea { display: block; width: 100%; margin-top: .3rem; padding: .65rem; font: 1rem var(--sans); color: var(--ink); border: 1px solid #a9b5ba; border-radius: 4px; background: var(--white); }
.request .two { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .request .two { grid-template-columns: 1fr 1fr; } }
.request .check { display: flex; gap: .65rem; font-weight: 400; font-size: .9rem; line-height: 1.45; margin-top: 1.1rem; }
.request .check input { width: auto; margin-top: .2rem; flex: none; }
.hp { position: absolute; left: -9999px; }
.btn { display: inline-block; background: var(--accent); color: var(--white); border: 0; border-radius: 4px; padding: .8rem 1.4rem; font-size: 1rem; font-weight: 650; text-decoration: none; cursor: pointer; margin-top: 1.1rem; }
.btn:hover { background: var(--ink); color: var(--white); }
.small { font-size: .88rem; color: var(--steel); }

.sources { font-size: .85rem; color: var(--steel); padding-left: 1.2rem; }
.sources li { overflow-wrap: anywhere; }

/* Footer */
footer { background: var(--ink); color: #d3dadd; margin-top: 3rem; padding: 2.2rem 0 2.6rem; font-size: .9rem; line-height: 1.55; }
footer a { color: #ffffff; }
.foot { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .foot { grid-template-columns: 2fr 1fr 1.4fr; gap: 2.4rem; } }
.foot p { margin: 0 0 .6rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 0 0 .35rem; }
.foot-name { color: #ffffff; font-weight: 700; }
.foot-head { color: #ffffff; font-weight: 600; }

@media print { .site nav, .request, footer { display: none; } }
