/* Test Ltd
 *
 * One stylesheet for the whole site. No web fonts and no third party requests
 * of any kind, so the network panel during an analytics test shows only the
 * pages themselves, the Cloudflare Web Analytics beacon that Pages injects,
 * and ww-events.js. Anything else in that list is a fault.
 */

:root {
  --ink: #16211c;
  --body: #46564e;
  --line: #dcdfdb;
  --paper: #ffffff;
  --wash: #f4f6f3;
  --green: #2f6b46;
  --green-dark: #245236;
  --measure: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 650;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(30px, 5vw, 44px); }
h2 { font-size: clamp(23px, 3.2vw, 30px); }
h3 { font-size: 19px; }

p { margin: 0 0 1.1em; }

a { color: var(--green-dark); }

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.masthead .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span { color: var(--green); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  color: var(--body);
  text-decoration: none;
  font-weight: 550;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* The telephone number is the single most important control on the site and
   the thing ww-events.js counts as a call, so it is present in the header of
   every page, never hidden behind a menu, and always a real tel: link. */
.call {
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.call:hover { background: var(--green-dark); }

/* ------------------------------------------------------------------ page */

.hero {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}

.hero p.lead {
  font-size: 19px;
  max-width: 34em;
}

section { padding: 48px 0; }

section + section { border-top: 1px solid var(--line); }

.cols {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 6px;
  background: var(--paper);
}

.card h3 { margin-bottom: 0.4em; }

ul.plain {
  margin: 0 0 1.1em;
  padding-left: 20px;
}

ul.plain li { margin-bottom: 6px; }

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 650;
  border: 1px solid var(--green);
  color: var(--green-dark);
  background: var(--paper);
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.button:hover { border-color: var(--green-dark); }

.button.primary:hover { background: var(--green-dark); }

/* ------------------------------------------------------------------ forms */

form { max-width: 460px; }

.field { margin-bottom: 16px; }

label {
  display: block;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 5px;
}

input, textarea, select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

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

textarea { min-height: 120px; resize: vertical; }

button[type="submit"] {
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button[type="submit"]:hover { background: var(--green-dark); }

.done {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--ink);
  font-weight: 550;
}

.note {
  font-size: 15px;
  color: var(--body);
}

/* ----------------------------------------------------------------- footer */

.foot {
  border-top: 1px solid var(--line);
  background: var(--wash);
  padding: 34px 0;
  font-size: 15px;
}

.foot .cols { gap: 22px; }

.foot a { color: var(--green-dark); }

.disclosure {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 14px;
}
