/* Wardstow legal pages (privacy policy, terms of service).
   One stylesheet, no framework, no external font requests. */

:root {
  --bg:        #fbfaf8;
  --surface:   #ffffff;
  --text:      #1a1c1f;
  --muted:     #5b6169;
  --border:    #e4e1db;
  --accent:    #1f4e5f;

  --wrap: 42rem;

  --font-display: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #101215;
    --surface:   #181b1f;
    --text:      #e9ebee;
    --muted:     #98a0a9;
    --border:    #282d33;
    --accent:    #86b9c7;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 3rem 1.5rem 5rem;
}

a { color: var(--accent); }

header.doc-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.doc-header .wrap {
  padding: 1.25rem 1.5rem;
  max-width: var(--wrap);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--text);
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}

.effective-date {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 2.5rem;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 2.25rem 0 0.75rem;
}

p, li { color: var(--text); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-inline-start: 1.4rem; }
li { margin-bottom: 0.4rem; }

.address {
  font-style: normal;
  line-height: 1.9;
}

strong.caps { letter-spacing: 0.01em; }

/* Quoted consent and confirmation wording on the text messaging page. */
blockquote {
  border-left: 3px solid var(--border);
  margin: 0 0 1rem;
  padding: 0.25rem 0 0.25rem 1rem;
}

blockquote p:last-child { margin-bottom: 0; }

footer.doc-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
}

footer.doc-footer a { color: var(--muted); }

/* Text message sign-up form (/forms/texts). */
form.signup {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
  max-width: 32rem;
}

form.signup label { font-weight: 600; margin-top: 0.5rem; }

form.signup input[type="text"],
form.signup input[type="email"],
form.signup input[type="tel"] {
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  padding: 0.6rem 0.75rem;
  background: transparent;
  color: var(--text);
}

form.signup .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-top: 1rem;
}

form.signup .consent input { margin-top: 0.35rem; width: 1.1rem; height: 1.1rem; }

form.signup .consent label { font-weight: 400; margin-top: 0; font-size: 0.95rem; }

form.signup button {
  justify-self: start;
  margin-top: 1rem;
  border: 0;
  border-radius: 6px;
  padding: 0.7rem 1.25rem;
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

/* Honeypot: off-screen for people, present for bots. */
form.signup .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

form.signup .consent-intro { margin: 1rem 0 0; font-weight: 600; }
