/* seattlemigration.org — index.css
   Written against the actual markup: content sits directly in <body>,
   headings are <p class="heading">, sections divided by <hr>. */

:root {
  --blue: #5bcefa;      /* trans flag light blue */
  --pink: #f5a9b8;      /* trans flag pink */
  --ink: #111111;
  --ink-soft: #444444;
}

* { box-sizing: border-box; }

html { font-size: 1.1vw; }

body {
  width: 52vw;
  margin: 0 auto;
  padding: 3vw 0 4vw;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

/* thin blue rule across the full viewport, not just the column */
html { border-top: 0.5vw solid var(--blue); }

/* Headings */
.heading {
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1vw 0;
  border-left: 0.5vw solid var(--blue);
  padding-left: 1vw;
}
body > .heading:first-child {
  font-size: 2.6rem;
  border-left: 0;
  padding-left: 0;
  margin-bottom: 1.5vw;
}
/* subheading directly after a paragraph (e.g. "Need To Talk?") */
p + .heading { margin-top: 3vw; }

/* Body text */
p { margin: 0 0 1.2rem 0; }
b, strong { font-weight: 700; }

hr {
  border: 0;
  border-top: 0.2vw solid var(--pink);
  margin: 3vw 0;
}

/* Links */
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.15em;
  text-decoration-color: var(--blue);
}
a:hover, a:focus { text-decoration-color: var(--ink); }
a:focus-visible { outline: 0.25vw solid var(--ink); outline-offset: 0.2vw; }

/* Optional: add class="button" to the survey link for a pink call-to-action */
a.button {
  display: inline-block;
  font-weight: 700;
  background: var(--pink);
  border: 0.25vw solid var(--ink);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
}
a.button:hover { background: var(--blue); }

/* Phone */
@media (max-width: 700px) {
  html { font-size: 4.2vw; border-top-width: 1.5vw; }
  body { width: 90vw; padding: 6vw 0 8vw; }
  .heading { font-size: 1.4rem; border-left-width: 1.5vw; padding-left: 3vw; margin-bottom: 3vw; }
  body > .heading:first-child { font-size: 2rem; margin-bottom: 4vw; }
  p + .heading { margin-top: 6vw; }
  hr { border-top-width: 0.6vw; margin: 6vw 0; }
  a.button { display: block; text-align: center; border-width: 0.6vw; }
}
