/*
 * Shared stylesheet of the link site. Colours are the app's theme primitives
 * (cream 100 background, forest 900 button, ink 900 text, stone 200 rule).
 * The system font stack is used on purpose: the site loads nothing from any
 * other origin, so no web font is fetched.
 */

* {
  box-sizing: border-box;
}

/* The button class sets display; this keeps a hidden button hidden. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: #f5f1e8;
  color: #1f2b25;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 28rem;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.logo {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 0 40px;
}

h1,
h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  color: #1f2b25;
}

.button {
  display: block;
  margin: 28px 0 0;
  padding: 17px 24px;
  min-height: 56px;
  border-radius: 14px;
  background: #1f4f3f;
  color: #ffffff;
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.rule {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: #e4ded0;
}
