:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #202923;
  --muted: #60665f;
  --accent: #dc4b20;
  --rule: #dcded5;
  --font: Inter, "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .3em; }
a:focus-visible,
main:focus-visible {
  outline: 3px solid #132b3a;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--paper);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  transform: translateY(-200%);
  padding: .8rem 1rem;
  max-width: calc(100% - 2rem);
  overflow-wrap: anywhere;
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
  padding: 0 clamp(1.5rem, 6.6vw, 8rem);
  background: var(--paper);
}

.teaser-page {
  --viewport-height: 100vh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  min-height: var(--viewport-height);
  overflow: visible;
  padding-inline: max(min(6.6vw, 8rem), env(safe-area-inset-left)) max(min(6.6vw, 8rem), env(safe-area-inset-right));
  padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
  background: var(--paper);
}
@supports (height: 100dvh) {
  .teaser-page { --viewport-height: 100dvh; }
}

/* Text grows with the reader's settings; short or enlarged layouts may scroll. */
.teaser-page .site-header { padding-block: clamp(.75rem, 2.5vh, 2.5rem); }
.teaser-page .logo { width: 12rem; max-width: min(100%, 45vw); }
.teaser-page .hero { padding-block: clamp(.5rem, 2vh, 1.5rem); }
.teaser-page .hero-copy {
  background: #f8f7f3f2;
  box-shadow: 0 0 1.5rem 1rem #f8f7f3f2;
}
.teaser-page .eyebrow {
  gap: .7em;
  margin-bottom: .75rem;
  font-size: .875rem;
  line-height: 1.5;
}
.teaser-page .status-dot { width: .56em; height: .56em; flex: none; }
.teaser-page .hero h1 {
  margin: 0;
  font-size: 3.8rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.teaser-page .tagline {
  margin-top: 1rem;
  max-width: 48ch;
  font-size: 1.125rem;
  line-height: 1.5;
  hyphens: auto;
}
.teaser-page .site-footer {
  column-gap: min(2rem, 4vw);
  row-gap: .5rem;
  padding-block: clamp(.5rem, 2vh, 1.5rem);
  font-size: .875rem;
  line-height: 1.5;
  background: var(--paper);
}
.teaser-page .footer-identity { gap: .35em; }
.teaser-page .image-note { font-size: .75rem; }
.teaser-page .site-footer nav { gap: .25rem 1rem; }
.teaser-page .login-link { gap: .6em; }
@media (max-width: 75rem) {
  .teaser-page .hero h1 { font-size: 3.25rem; }
}
@media (max-width: 45rem) {
  .teaser-page .hero h1 { font-size: 2.65rem; }
}
@media (min-width: 32rem) and (max-height: 26rem) {
  .teaser-page .site-header { padding-block: .375rem; }
  .teaser-page .logo { width: 8rem; }
  .teaser-page .hero { padding-block: .25rem; }
  .teaser-page .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
  }
  .teaser-page .eyebrow { grid-column: 1 / -1; margin-bottom: .5rem; }
  .teaser-page .hero h1 { font-size: 2.4rem; }
  .teaser-page .tagline { margin-top: 0; }
  .teaser-page .site-footer { padding-block: .375rem; }
}
.teaser-scene {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.teaser-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .48;
}
.teaser-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--paper), transparent 24%, transparent 78%, #f8f7f3b3),
    linear-gradient(90deg, var(--paper) 0%, #f8f7f3f2 29%, #f8f7f3bf 48%, #f8f7f329 75%, transparent);
}

.site-header,
.hero,
.site-footer {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(1.9rem, 4vw, 3.5rem);
}
.site-header > a { max-width: 100%; }
.logo { display: block; width: clamp(10rem, 16vw, 13rem); max-width: 100%; height: auto; }

.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vh, 9rem) clamp(6rem, 15vh, 12rem);
}
.hero-copy { position: relative; z-index: 1; min-width: 0; max-width: 100%; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 2rem;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.status-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
h1 {
  max-width: 100%;
  margin: 0 0 22px;
  color: #132b3a;
  font-family: var(--font);
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.06;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 em { font-style: normal; color: var(--accent); }
.tagline {
  margin: 2rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: .75rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.5rem;
  color: var(--muted);
  font-size: .8rem;
}
.footer-wordmark { font-weight: 600; letter-spacing: .035em; }
.footer-identity { display: flex; flex-direction: column; gap: .35rem; min-width: 0; overflow-wrap: anywhere; }
.image-note { font-size: .68rem; }
.login-link { display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; text-decoration: none; }
.login-link:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-top: 1.5rem; padding-block: .8rem; font-size: 1rem; }
.error h1 { font-size: 3rem; }

@media (max-width: 1200px) {
  .hero h1 { font-size: 3.25rem; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 3rem; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 2.65rem; margin-bottom: 20px; letter-spacing: -.045em; }
}

@media (max-width: 640px) {
  .hero { padding-block: 5rem 7rem; }
  .eyebrow { margin-bottom: 1.75rem; }
  .tagline { margin-top: 1.5rem; max-width: 31ch; }
  .teaser-scene img { object-position: 63% center; opacity: .3; }
  .teaser-scene::after {
    background:
      linear-gradient(0deg, var(--paper), transparent 27%, transparent 80%, #f8f7f3c7),
      linear-gradient(90deg, #f8f7f3ed, #f8f7f3d9 52%, #f8f7f326);
  }
  .site-footer { padding-block: 1rem; }
}

@media (forced-colors: active) {
  .status-dot { background: CanvasText; }
  .teaser-scene { display: none; }
  .site-footer { border-color: CanvasText; }
}

/* Shared public information pages. */
.site-footer nav { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; align-items: center; min-width: 0; max-width: 100%; }
.site-footer nav a,
.site-footer > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%; padding-inline: .25rem; text-decoration: none; overflow-wrap: anywhere; }
.site-footer nav a:hover { text-decoration: underline; }
.legal-content { flex: 1; width: 100%; max-width: 760px; margin: 2rem auto 5rem; overflow-wrap: anywhere; }
.legal-content h1 { font-size: 2.5rem; margin-bottom: 2rem; }
.legal-content h2 { margin: 2.25rem 0 .75rem; font-size: 1.2rem; line-height: 1.4; }
.legal-content p, .legal-content address { font-size: 1rem; line-height: 1.75; color: var(--muted); }
.legal-content address { font-style: normal; }
.legal-content a { text-decoration: underline; }
