/* CMYKit support site: a press sheet with crop marks, square corners, palette #00809D #FCF8DD #FFD700 #D3AF37 */
:root {
  --plate: #00809D;
  --plate-deep: #005061;
  --paper: #FCF8DD;
  --bed: #EAE4C4;
  --foil: #FFD700;
  --antique: #D3AF37;
  --antique-deep: #6E5B1D;
  --didone: "Bodoni 72", "Bodoni MT", "Didot", "Bodoni Seventytwo ITC", "Libre Bodoni", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; border-radius: 0; }
html { background: var(--bed); }
body {
  margin: 0;
  color: var(--plate-deep);
  font-family: var(--didone);
  font-size: 1.05rem;
  line-height: 1.6;
}
a { color: var(--plate-deep); text-decoration-color: var(--antique); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--foil); padding: .4rem .8rem; }

/* colour control strip along the top of the sheet */
.control-strip { display: grid; grid-template-columns: repeat(12, 1fr); height: 14px; }
.control-strip span:nth-child(4n+1) { background: var(--plate); }
.control-strip span:nth-child(4n+2) { background: var(--antique); }
.control-strip span:nth-child(4n+3) { background: var(--foil); }
.control-strip span:nth-child(4n) { background: var(--plate-deep); }

.slug {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem;
  padding: .5rem 1rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--antique-deep);
}
.slug nav a { margin-left: 1rem; }

/* the trimmed sheet with crop marks drawn outside each corner */
.sheet {
  position: relative; max-width: 46rem; margin: 2.2rem auto 3rem; padding: 2rem 1.3rem 2.4rem;
  background: var(--paper); box-shadow: 5px 5px 0 rgba(0, 80, 97, .16);
}
.sheet::before, .sheet::after, .sheet > .crop-low::before, .sheet > .crop-low::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--antique);
}
.sheet::before { top: -28px; left: -28px; border-right-width: 1px; border-bottom-width: 1px; }
.sheet::after { top: -28px; right: -28px; border-left-width: 1px; border-bottom-width: 1px; }
.sheet > .crop-low::before { bottom: -28px; left: -28px; border-right-width: 1px; border-top-width: 1px; }
.sheet > .crop-low::after { bottom: -28px; right: -28px; border-left-width: 1px; border-top-width: 1px; }

.masthead { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.masthead svg { width: 72px; height: 72px; }
h1 { font-size: 2.5rem; line-height: 1; margin: 0; font-weight: 700; }
.kicker { margin: .2rem 0 0; color: var(--antique-deep); font-style: italic; }
h2 { font-size: 1.45rem; margin: 2.4rem 0 .6rem; display: flex; align-items: baseline; gap: .6rem; }
h2 .plate-tag {
  font-size: .72rem; letter-spacing: .12em; padding: .1rem .45rem; background: var(--plate-deep); color: var(--paper);
}
h3 { font-size: 1.1rem; margin: 0 0 .25rem; }

/* four corner tools as a 2x2 grid of mini plates */
.corners { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--antique); border: 1px solid var(--antique); }
.corners section { background: var(--paper); padding: 1rem; }
.corners .mark { width: 28px; height: 28px; float: right; margin-left: .5rem; }

.drawer { border-left: 6px solid var(--foil); padding: .4rem 0 .4rem 1rem; }

dl.questions dt { font-weight: 700; margin-top: 1.1rem; }
dl.questions dt::before { content: "\2295\00a0"; color: var(--plate); }
dl.questions dd { margin: .2rem 0 0 1.4rem; }

.counter {
  margin-top: 2.6rem; padding: 1.2rem; background: var(--plate-deep); color: var(--paper);
}
.counter a { color: var(--foil); font-size: 1.2rem; word-break: break-all; }
.counter p { margin: .35rem 0; }

.honest { font-style: italic; color: var(--antique-deep); border-top: 1px dashed var(--antique); padding-top: .8rem; margin-top: 2rem; }

/* privacy page: a colophon set as a two-column ledger */
.ledger { width: 100%; border-collapse: collapse; margin: .6rem 0; }
.ledger th, .ledger td { text-align: left; vertical-align: top; padding: .55rem .4rem; border-bottom: 1px solid var(--antique); }
.ledger th { width: 38%; font-weight: 700; }
.stamp { display: inline-block; border: 2px solid var(--plate); padding: .15rem .6rem; transform: rotate(-2deg); color: var(--plate-deep); font-weight: 700; letter-spacing: .06em; }
ol.terms { padding-left: 1.3rem; }
ol.terms li { margin-bottom: .9rem; }
ol.terms li::marker { color: var(--plate); font-weight: 700; }

footer { text-align: center; font-size: .82rem; color: var(--antique-deep); padding: 0 1rem 2.5rem; }

@media (min-width: 640px) {
  .sheet { padding: 2.6rem 2.8rem 3rem; }
  .corners { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 3.1rem; }
}
