/* Lishmoa website: one page, no scripts, no cookies, no analytics. */
:root {
  --text: #ffffff;
  --muted: #e6e1d8;           /* 10:1 or better on the overlay */
  --ink: #1d1d1f;             /* text inside the white input */
  --accent: #c8862a;          /* button; dark text on it, 7.6:1 */
  --accent-hover: #dd9a3c;
  --overlay: rgba(14, 11, 7, 0.74);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { font-size: 112.5%; min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.6;
  color: var(--text);
  /* Photo from the old site: Unsplash photo-1522442676585-c751dab71864 (Unsplash License). */
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    url("hero.jpg") center / cover no-repeat fixed,
    #221c14;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}
main { flex: 1; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: var(--ink); padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Hero */
.hero {
  display: flex; align-items: center; justify-content: center;
  padding: 7rem 1.5rem 3rem;
  text-align: center;
}
.hero__inner { max-width: 56rem; }
.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 9vw, 5rem);
  font-weight: 400; letter-spacing: .02em; line-height: 1.1;
}
.hero__tagline {
  margin: 0 auto; max-width: 52rem;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem); line-height: 1.45;
  text-wrap: balance;
}
.nowrap { white-space: nowrap; }

/* Sign-up */
.signup {
  max-width: 40rem; margin: 0 auto; padding: 9rem 1.5rem 5rem;
  text-align: center;
}
.signup h2, .thanks__title { margin: 0 0 1rem; font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 400; }
.thanks__title { font-size: 2.2rem; }
.signup__lead { margin: 0 auto 1.75rem; max-width: 34rem; font-size: .95rem; color: var(--muted); text-wrap: balance; }
.signup__form { max-width: 28rem; margin: 0 auto; }
.signup__form label {
  display: block; margin-bottom: .5rem; text-align: left;
  font-weight: 700;
}
.signup__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup__row input {
  flex: 1 1 12rem; min-height: 2.6rem; padding: .4rem .8rem;
  font: inherit; color: var(--ink); background: #fff; text-shadow: none;
  border: 2px solid #fff; border-radius: var(--radius);
}
.signup__row button {
  flex: 0 0 auto; min-height: 2.6rem; padding: .4rem 1.1rem;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  color: #1a1207; background: var(--accent); text-shadow: none;
  border: 0; border-radius: var(--radius); cursor: pointer;
}
.signup__row button:hover { background: var(--accent-hover); }
.signup__row input:focus-visible,
.signup__row button:focus-visible,
a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.signup__note { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); text-align: left; }
a { color: #fff; }

/* Footer */
.footer {
  padding: 2rem 1.5rem; text-align: center;
  font-size: .85rem; color: var(--muted);
}
.footer p { margin: .25rem 0; }
.contact img { vertical-align: -4px; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 30rem) {
  .signup__row button { width: 100%; }
  .hero { padding-top: 4rem; }
  .signup { padding-top: 5rem; }
}
/* Fixed backgrounds are janky on phones; scroll there instead. */
@media (hover: none) { body { background-attachment: scroll; } }
