/* The Garland County Courier. One column, newspaper masthead, teal for the springs. */
:root {
  --ground: #fbfbf9;
  --ink: #161b19;
  --muted: #5c6662;
  --rule: #d6dbd8;
  --field: #ffffff;
  --accent: #145c54;
  --accent-ink: #fbfbf9;
  --accent-soft: #e1eeeb;
  --tufa: #a4521d;
  --mast: "Old Standard TT", Georgia, "Times New Roman", serif;
  --label: "Libre Franklin", "Franklin Gothic Medium", Arial, system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141917; --ink: #e8ece9; --muted: #9ba7a2; --rule: #2d3734; --field: #1c2321;
    --accent: #6cc3b5; --accent-ink: #0f1513; --accent-soft: #1d3330; --tufa: #e49a66;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.page { max-width: 680px; margin: 0 auto; padding-block: 32px 56px; display: flex; flex-direction: column; gap: 40px; }

.mast { text-align: center; }
.ear { display: flex; justify-content: space-between; gap: 12px; font-family: var(--label); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1 { font-family: var(--mast); font-weight: 700; font-size: clamp(38px, 10vw, 68px); line-height: .98; margin: 18px 0 14px; text-wrap: balance; }
h1 .the { display: block; font-style: italic; font-weight: 400; font-size: .4em; margin-bottom: 6px; }
.folio { border-top: 4px double var(--ink); border-bottom: 1.5px solid var(--ink); padding: 7px 0; display: flex; justify-content: space-between; gap: 10px; font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.signup { text-align: center; display: grid; gap: 12px; justify-items: center; }
.lede { font-family: var(--mast); font-size: clamp(24px, 5vw, 32px); line-height: 1.18; margin: 0; max-width: 22ch; text-wrap: balance; }
.sub { margin: 0; color: var(--muted); max-width: 44ch; }
.embed { width: 100%; min-height: 80px; margin-top: 8px; }
.fallback { margin: 0; font-family: var(--label); font-size: 13px; color: var(--muted); }

.label { font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h2 { font-family: var(--mast); font-weight: 700; font-size: 30px; line-height: 1.15; margin: 4px 0 8px; text-wrap: balance; }

.what { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.what ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.what b { font-family: var(--label); font-weight: 700; font-size: 15.5px; }

.submit { border-top: 4px double var(--ink); padding-top: 24px; }
.note { margin: 0 0 20px; color: var(--muted); }
form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
label { font-family: var(--label); font-weight: 600; font-size: 14px; }
.opt { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
input, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--field);
  border: 1.5px solid var(--rule); border-radius: 3px; padding: 10px 12px; width: 100%;
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
button {
  justify-self: start; font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 3px; padding: 13px 24px; cursor: pointer;
}
button:hover { filter: brightness(1.08); }
.fine { margin: 0; font-family: var(--label); font-size: 12.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.thanks p { margin: 0 0 12px; }

footer { border-top: 1px solid var(--rule); padding-top: 18px; font-family: var(--label); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
footer p { margin: 0; }
.since { font-family: var(--mast); font-style: italic; font-size: 15px; color: var(--ink); }

@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .towns { display: none; }
  .ear { justify-content: center; }
  button { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
