/* Caisson holding page.
   Palette is defined once, here; change a colour and it changes everywhere. */
:root {
  --brick: #B4492A;
  --brick-deep: #8A3720;
  --ink: #2B211C;
  --muted: #6E625A;
  --paper: #FAF6F0;
  --stone: #E9E0D5;
  --sand: #D9A47F;

  --font-heading: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

a { color: var(--brick); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brick-deep); }

.site-header, main, .site-footer {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header { padding-block: 1.5rem 0; }

.logo { display: inline-block; line-height: 0; }
.logo img { height: 7.5rem; width: auto; max-width: 100%; }

main { flex: 1; padding-block: 3rem 3rem; }

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 6vw, 3.25rem); margin: 0 0 1.5rem; }
h2 { font-size: 1.6rem; margin: 2.5rem 0 0.75rem; }

.lead { font-size: 1.15rem; }

.offers { padding: 0; margin: 0 0 1.75rem; list-style: none; }
.offers li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--stone);
  position: relative;
}
.offers li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.25rem;
  width: 0.5rem; height: 2px;
  background: var(--brick);
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.signup input[type="email"] {
  flex: 1 1 16rem;
  font: inherit;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc3b6;
  border-radius: 3px;
}
.signup input[type="email"]::placeholder { color: var(--muted); }

button {
  font: inherit;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  color: #fff;
  background: var(--brick);
  border: 1px solid var(--brick);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
button:hover { background: var(--brick-deep); border-color: var(--brick-deep); }

input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 2px;
}

.fine-print { font-size: 0.875rem; color: var(--muted); margin-top: 0.9rem; }
.error { color: var(--brick-deep); font-weight: 600; margin: 0.75rem 0 0; }

.prose h2 { font-size: 1.4rem; }

.site-footer {
  padding-block: 1.5rem 2rem;
  border-top: 1px solid var(--stone);
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brick-deep); }

/* Visually hidden but available to screen readers and for the honeypot. */
.visually-hidden, .hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
