/* Hearth Hiring holding site. Replaced when the redesigned site launches. */
@font-face {
  font-family: "Bitter";
  src: url("/assets/fonts/bitter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #000000;
  --paper: #ffffff;
  --ember: #b4481f;
  --ember-tint: #f7ebe3;
  --ember-rule: #ebcdbc;
  --muted: #4a4a4a;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

header.wrap { padding-top: 28px; padding-bottom: 28px; }
header img { display: block; height: 36px; width: auto; }

h1, h2 { font-family: "Bitter", Georgia, serif; line-height: 1.15; }

/* Home */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero img { width: min(300px, 70vw); height: auto; margin: 0 auto 40px; }
.hero h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 800; margin: 0 0 16px; }
.hero p { margin: 0 auto 12px; max-width: 34em; color: var(--muted); }
.hero .soon {
  display: inline-block;
  margin: 8px auto 28px;
  padding: 6px 14px;
  background: var(--ember-tint);
  border: 1px solid var(--ember-rule);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .contact { font-weight: 600; color: var(--ink); }
.hero .legal-links { margin-top: 40px; font-size: 0.875rem; }
.hero .legal-links a { color: var(--muted); margin: 0 10px; }

/* Legal pages */
main.legal { padding-top: 24px; padding-bottom: 64px; }
main.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; margin: 16px 0 4px; }
main.legal .updated { color: var(--muted); font-size: 0.875rem; margin: 0 0 32px; }
main.legal h2 { font-size: 1.35rem; font-weight: 700; margin: 36px 0 8px; }
main.legal ul { padding-left: 1.25em; }
main.legal li { margin-bottom: 8px; }
main.legal li::marker { color: var(--ember); }

footer.wrap {
  border-top: 1px solid var(--ember-rule);
  padding-top: 24px;
  padding-bottom: 40px;
  font-size: 0.875rem;
  color: var(--muted);
}
footer a { color: var(--muted); margin-right: 16px; }
