/* Divyam Arts Foundation: the holding page, the mailbox confirmation page and the error
   pages. Neutral colours and system fonts until a brand exists (WO-DAF-01 D8). */

:root {
  color-scheme: light;
  --ink: #1f2933;
  --ink-soft: #4b5563;
  --ground: #f7f7f8;
  --surface: #ffffff;
  --line: #d9dce1;
  --link: #1d4ed8;
  --focus: #1d4ed8;
  --button: #1f2933;
  --button-ink: #ffffff;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 0.75rem;
}

.daf-dev-ribbon {
  padding: 0.25rem 1rem;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.875rem;
  text-align: center;
}

.page-main {
  flex: 1;
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1.5rem 3rem;
}

.page-main > * {
  margin: 0 0 1rem;
}

h1,
.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  text-wrap: balance;
}

.wordmark-small {
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.lead {
  font-size: 1.25rem;
}

.button {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.625rem 1.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--button);
  color: var(--button-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.page-footer {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.page-footer > * {
  margin: 0 0 0.25rem;
}

.contact-address {
  font-style: normal;
}
