/* Hartly holding page. Plainspoken in Evergreen (site/public/brand/palette.json): Atkinson Hyperlegible Next,
   warm paper, evergreen accent, the Hearth lockup. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/hartly-atkinsonnext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Digits from Source Sans 3 so "2027" reads as an ordinary number (Atkinson's zero is slashed). */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/hartly-sourcesans3.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
  size-adjust: 108%;
}

:root {
  --paper: #fbf8f3;
  --ink: #1f1c19;
  --ink-2: #4a443e;
  --line: #ddd3c5;
  --accent: #2d5d4d;
  --accent-deep: #1f4639;
  --accent-tint: #e3ece7;
  --focus: #ffd65c;
  font-size: 112.5%;
}
@media (min-width: 760px) { :root { font-size: 125%; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}
p, h1 { margin: 0; }

/* The stacked Hearth lockup (site/public/brand/, copied here by site/scripts/brand.py). */
.wordmark { display: inline-block; line-height: 0; text-decoration: none; }
.wordmark img { display: block; width: auto; height: clamp(7.5rem, 5.5rem + 6vw, 10rem); }
.wordmark-small img { height: 6rem; }
.tagline {
  margin-top: 1.4rem;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}
.about { margin-top: 1.2rem; max-width: 34rem; color: var(--ink-2); text-wrap: pretty; }
.soon {
  margin-top: 2rem;
  display: inline-block;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: .95rem;
}
footer {
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  line-height: 1.7;
}
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; background: var(--focus); }
footer a { color: inherit; }

/* Terms and Privacy (terms.html, privacy.html; generated by site/scripts/legal.py): a reading
   column instead of the centred holding layout. */
.doc-top { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.doc-top .wordmark { display: block; max-width: 40rem; margin: 0 auto; }
.doc-top .wordmark img { height: 2.05rem; }
main.doc { display: block; text-align: left; padding: 2.4rem 1.25rem 4rem; }
.doc article { max-width: 40rem; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.012em; }
.doc .updated { margin-top: .5rem; color: var(--ink-2); }
.doc h2 { margin: 2.4rem 0 0; font-size: 1.35rem; line-height: 1.25; text-wrap: balance; }
.doc p, .doc ul, .doc ol { margin: .8rem 0 0; }
.doc ul, .doc ol { padding-left: 1.4rem; }
.doc li + li { margin-top: .4rem; }
.doc a { color: var(--accent); text-underline-offset: .18em; }
.doc a:hover { color: var(--accent-deep); }
.doc .summary { margin-top: 1.8rem; padding: 1.1rem 1.3rem 1.3rem; border-left: 6px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--accent-tint); }
.doc .summary h2 { margin-top: 0; }
/* Text the owner or a lawyer must fill in before launch. */
.todo { padding: 0 .3rem; border: 1.5px dashed var(--ink-2); border-radius: 4px; background: #fff3c4; color: var(--ink); font-weight: 700; }
