/* Written Wishes holding page.
   Neutral www tokens copied from PR #1 (packages/tokens, Pass B2).
   The MLP partner theme is not applied. Its dark gold #d2b687 is
   provisional and stays off this page.
   Each light-dark() pair is preceded by the light value so a browser
   without light-dark() still renders the light palette. */

:root {
  color-scheme: light dark;
  --ww-primary: #007181;
  --ww-on-primary: #ffffff;
  --ww-primary-hover: #005262;
  --ww-primary-deep: #005262;
  --ww-primary-deep: light-dark(#005262, #62c4d4);
  --ww-link-hover: #007181;
  --ww-link-hover: light-dark(#007181, #8fd9e6);
  --ww-surface: #fcfaf6;
  --ww-surface: light-dark(#fcfaf6, #111a1f);
  --ww-paper: #ffffff;
  --ww-paper: light-dark(#ffffff, #1c272e);
  --ww-text: #233035;
  --ww-text: light-dark(#233035, #e7edef);
  --ww-text-muted: #51626a;
  --ww-text-muted: light-dark(#51626a, #a7b8be);
  --ww-border: #dfd9cd;
  --ww-border: light-dark(#dfd9cd, #35454e);
  --ww-focus: #005262;
  --ww-focus: light-dark(#005262, #7fd4e0);
  --ww-font-display: "Charter", "Bitstream Charter", "Source Serif 4",
    "Iowan Old Style", Georgia, serif;
  --ww-font-body: "Seravek", "Gill Sans Nova", Ubuntu, Calibri,
    "DejaVu Sans", source-sans-pro, sans-serif;
  --tap-min: 2.75rem;
}

@media print {
  :root {
    color-scheme: light;
  }
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ww-surface);
  color: var(--ww-text);
  font-family: var(--ww-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  border-top: 4px solid var(--ww-primary);
}

h1 {
  font-family: var(--ww-font-display);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--ww-primary-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ww-link-hover);
}

:focus-visible {
  outline: 3px solid var(--ww-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--ww-paper);
  color: var(--ww-primary-deep);
  border-radius: 6px;
  z-index: 1;
}

.skip-link:focus {
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  overflow: visible;
  clip-path: none;
  white-space: normal;
}

.wrap {
  width: min(40rem, 100%);
  margin-inline: auto;
  padding-inline: 1rem;
}

.site-head {
  padding-block: 1rem;
}

.site-head .wordmark {
  margin: 0;
  font-size: 1.375rem;
}

body:has(.site-head) main {
  justify-content: flex-start;
  padding-top: 1.5rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  min-height: var(--tap-min);
  font-family: var(--ww-font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ww-primary-deep);
  text-decoration: none;
}

a.wordmark:hover {
  color: var(--ww-link-hover);
  text-decoration: underline;
}

.mark {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ww-primary);
  color: var(--ww-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ww-font-body);
  font-size: 0.58em;
  font-weight: 600;
}

.lede {
  max-width: 38em;
  font-size: 1.0625rem;
}

.action {
  margin-top: 1.5rem;
}

.register {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  min-height: var(--tap-min);
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--ww-primary);
  color: var(--ww-on-primary);
  border-radius: 6px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.register:hover {
  background: var(--ww-primary-hover);
  color: var(--ww-on-primary);
}

.register-address {
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 38em;
}

.prose h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--ww-text);
}

.site-foot {
  border-top: 1px solid var(--ww-border);
  background: var(--ww-paper);
  padding-block: 1.5rem 2rem;
  font-size: 0.9375rem;
}

.honesty {
  color: var(--ww-text);
  max-width: 38em;
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-top: 0.75rem;
}

.site-foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding-inline: 0.15rem;
}

.copyright {
  margin-top: 0.25rem;
  color: var(--ww-text-muted);
}

@media (max-width: 40rem) {
  .register {
    width: 100%;
  }
}

@media (min-width: 60rem) {
  body {
    font-size: 1.125rem;
  }

  .wordmark {
    font-size: 2.75rem;
  }

  .lede {
    font-size: 1.125rem;
  }

  .prose h1 {
    font-size: 2.75rem;
  }

  .wrap {
    padding-inline: 1.5rem;
  }
}

@media (forced-colors: active) {
  .register {
    border: 2px solid ButtonText;
  }

  .mark {
    border: 1px solid ButtonText;
  }
}
