/* Simplex family — master.css. The one stylesheet for simplex.work and simplexsystems.work.
   No inline styles, no per-page styles. Fix here, it lands on both sites. */

:root {
  --bg: #fbfaf8;
  --ink: #16181d;
  --muted: #5c6066;
  --accent: #1f3dd8;
  --line: #d8d6d0;
  --max: 40rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 17px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wordmark {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.byline { font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-left: 0.35rem; }

main {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  flex: 1;
}

.hero { padding: 4rem 0 3rem; }

main.wide { max-width: 64rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 3rem;
}

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.hero-text form.signup { margin-top: 1.75rem; }

.kicker {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.whofor { font-weight: 600; margin-bottom: 1.25rem; }

.lede {
  font-size: 1.25rem;
  max-width: 34rem;
  margin-bottom: 1rem;
}

.show-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact { padding: 3rem 0 5rem; border-top: 1px solid var(--line); }

.signup-block { padding: 2.5rem 0 5rem; border-top: 1px solid var(--line); }

h2 { font-size: 1.5rem; margin-bottom: 1.5rem; letter-spacing: -0.01em; }

form { display: flex; flex-direction: column; max-width: 30rem; }

form.signup { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }

form.signup input[type="email"] { flex: 1 1 14rem; margin-bottom: 0; min-width: 0; }

form.signup button { align-self: stretch; }

.fineprint { margin-top: 0.85rem; color: var(--muted); font-size: 0.9rem; }

label { font-weight: 600; margin-bottom: 0.35rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

input, textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  margin-bottom: 1.25rem;
}

input:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea { resize: vertical; }

.hp { position: absolute; left: -9999px; height: 0; width: 0; border: 0; padding: 0; margin: 0; }

button {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  padding: 0.75rem 2rem;
  cursor: pointer;
  align-self: flex-start;
}

button:hover { background: var(--accent); }

footer {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.thanks { padding: 5rem 0; }

.thanks a, .show-note a { color: var(--accent); }

@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .hero { padding: 2.5rem 0 2rem; }
  form.signup button { width: 100%; }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { max-width: 320px; }
}

/* ---- poster layout (the report landing page) ---- */

.poster { background: #e9e6df; }

.poster .frame {
  background: #fff;
  border-radius: 28px;
  max-width: 78rem;
  margin: 1.25rem auto;
  padding: 1rem 1.5rem 2rem;
  box-shadow: 0 1px 3px rgba(22, 24, 29, 0.06);
}

.poster .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem 1.6rem;
}

.poster .topbar .wordmark { max-width: none; width: auto; margin: 0; padding: 0; }

.poster .topbar .topbrand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.poster .topbar .topbrand img { display: block; width: 40px; height: 40px; }

.poster .pill-btn {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.poster .pill-btn:hover { background: var(--accent); }

.poster main { max-width: none; padding: 0; }

.poster .hero-card {
  background: #f4f2ec;
  border-radius: 22px;
  padding: 3.5rem 3.5rem 3rem;
  overflow: hidden;
}

.poster .hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  padding: 0;
}

.poster .hero-grid > * { min-width: 0; }

.poster .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(22, 24, 29, 0.08);
  margin-bottom: 1.75rem;
}

.poster .badge b {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  font-weight: 600;
}

.poster-h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.poster .whofor { font-weight: 700; }

.poster .lede { font-size: 1.05rem; max-width: 36rem; }

.poster form.signup { margin-top: 2rem; }

.poster form.signup input[type="email"] { border-radius: 999px; padding-left: 1.1rem; }

.poster form.signup button { border-radius: 999px; }

.poster .hero-photo { position: relative; padding: 0 0.25rem; }

.poster .hero-photo::before {
  content: "";
  position: absolute;
  top: 6%;
  right: -2%;
  bottom: -3%;
  left: 10%;
  background: var(--accent);
  border-radius: 20px;
  transform: rotate(-4deg);
}

.poster .hero-photo img { position: relative; border-radius: 16px; }

.poster footer {
  max-width: none;
  margin: 2rem 1rem 0;
  padding: 1.5rem 0 0.25rem;
}

.poster .thanks { padding: 3rem 0; }

@media (max-width: 760px) {
  .poster .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .poster .frame { margin: 0.5rem; padding: 0.5rem 0.75rem 1.25rem; }
  .poster .topbar { padding: 0.75rem 0.5rem 1.1rem; }
  .poster .pill-btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
  .poster .hero-card { padding: 1.75rem 1.5rem 2rem; }
  .poster .hero-grid { gap: 2.75rem; }
  .poster .hero-photo { max-width: 300px; margin: 0 auto; }
  .poster .hero-photo::before { right: 0; left: 6%; }
  .poster .badge { flex-wrap: wrap; border-radius: 18px; font-size: 0.8rem; }
  .poster-h1 { font-size: clamp(1.9rem, 10.5vw, 2.6rem); }
}
