/* Card Table Press website. Large print first: body text 22px, nothing under 18px,
   strong contrast, big tap targets. Colors are the brand tokens. */

@font-face { font-family: "Alfa Slab One"; src: url("/assets/AlfaSlabOne.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Damion"; src: url("/assets/Damion-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Oleo Script"; src: url("/assets/OleoScript-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #16202f;
  --cream: #f6ebd3;
  --paper: #fffbf2;
  --navy: #1b2a4a;
  --brand-red: #d8402b;
  --ad-yellow: #fbd647;
  --ad-yellow-dot: #f4c93a;
}

* { box-sizing: border-box; }

html { font-size: 22px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Liberation Sans", Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.site-header { padding: 18px 24px; border-bottom: 3px solid var(--ink); background: var(--paper); }
.site-header img { height: 64px; width: auto; max-width: 100%; display: block; }
@media (max-width: 520px) { .site-header img { height: auto; } }

.hero {
  background-color: var(--ad-yellow);
  background-image: radial-gradient(var(--ad-yellow-dot) 3px, transparent 3.5px);
  background-size: 18px 18px;
  border-bottom: 3px solid var(--ink);
  padding: 40px 24px 48px;
}

.wrap { max-width: 980px; margin: 0 auto; }

.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }

.bar {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-family: "Alfa Slab One", Rockwell, Georgia, serif;
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.15;
  padding: 14px 22px;
  margin: 0;
  transform: rotate(-2deg);
}

.script {
  font-family: Damion, "Brush Script MT", cursive;
  color: var(--navy);
  font-size: 2.2rem;
  line-height: 1.1;
  margin: 18px 0 10px 6px;
  transform: rotate(-2deg);
}

.lead { font-size: 1.1rem; max-width: 30em; }

.cover { width: 100%; max-width: 360px; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); justify-self: center; }

.roundel {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--brand-red); color: var(--cream);
  border: 5px solid var(--cream); box-shadow: 0 0 0 3px var(--brand-red);
  font-family: "Oleo Script", Georgia, serif; font-weight: 700; font-size: 1.25rem; line-height: 1;
}

main { padding: 40px 24px 56px; }

.card { background: #fff; border: 3px solid var(--ink); padding: 28px; max-width: 640px; }

label { display: block; font-weight: 700; margin-bottom: 8px; }

input[type="email"] {
  width: 100%; font-size: 1.1rem; padding: 16px; border: 3px solid var(--ink); border-radius: 6px;
}

input[type="email"]:focus, .button:focus { outline: 4px solid var(--brand-red); outline-offset: 3px; }

.button {
  display: inline-block; margin-top: 18px; padding: 18px 30px;
  background: var(--brand-red); color: #fff; border: 3px solid var(--ink); border-radius: 6px;
  font: 700 1.1rem Arial, "Liberation Sans", sans-serif; text-decoration: none; cursor: pointer;
}

.button:hover { background: #b9331f; }

.small { font-size: 18px; }

ul.inside { padding-left: 1.2em; }
ul.inside li { margin-bottom: 8px; }

.site-footer { border-top: 3px solid var(--ink); padding: 24px; font-size: 18px; background: var(--cream); }

@media (max-width: 760px) {
  html { font-size: 20px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .bar { font-size: 1.6rem; }
  .cover { max-width: 260px; }
}

.form-msg { color: var(--brand-red); font-weight: 700; margin: 12px 0 0; min-height: 1.4em; }
.button:disabled { opacity: 0.7; cursor: wait; }
