:root {
  --ink: #080306;
  --paper: #f4f4f2;
  --muted: rgba(255, 255, 255, 0.5);
  --soft: rgba(255, 255, 255, 0.64);
  --line: rgba(227, 216, 195, 0.5);
  --line-strong: rgba(255, 255, 255, 0.45);
  --accent: #e3d8c3;
  --sunspell-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "TWK Lausanne Pan", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  overflow-x: hidden;
}

html.is-static-route,
body.is-static-route {
  height: 100%;
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  min-height: 100%;
  background: var(--ink);
}

.initial-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  opacity: 1;
  pointer-events: none;
  transition:
    opacity 620ms var(--sunspell-ease),
    filter 620ms var(--sunspell-ease);
}

.loader-line {
  width: 92px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.loader-line::after {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.72);
  content: "";
  transform: translateX(-100%);
  animation: loader-line 900ms var(--sunspell-ease) infinite;
}

body.is-initial-loading .screen {
  animation: none;
  opacity: 0;
  filter: blur(6px);
}

body.is-initial-ready .initial-loader {
  opacity: 0;
  filter: blur(8px);
}

body.is-initial-ready .screen {
  animation: initial-page-in 920ms var(--sunspell-ease) both;
}

.app-shell.is-leaving .screen {
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 280ms var(--sunspell-ease),
    filter 280ms var(--sunspell-ease);
}

.screen {
  width: min(1440px, 100%);
  margin: 0 auto;
  background: var(--ink);
  animation: sunspell-page-in 720ms var(--sunspell-ease) both;
  will-change: opacity, filter;
}

.screen.has-loaded {
  animation: none;
  opacity: 1;
  filter: none;
}

.summary-screen {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  min-height: 720px;
  justify-content: flex-start;
  overflow: hidden;
  padding: min(277px, 27dvh) 24px 48px;
}

.summary-content {
  width: min(980px, 100%);
  min-height: 492px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  text-align: center;
}

.summary-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 48px;
  width: min(708px, 100%);
}

.summary-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(708px, 100%);
}

.summary-title-frame {
  width: 100%;
  min-height: 90px;
  flex-shrink: 0;
  padding-top: 20px;
}

.kicker-frame {
  display: inline-block;
  height: 40px;
  padding-top: 22px;
}

.summary-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
  width: 100%;
}

.open-proposal-frame {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  height: 35px;
  padding: 15px 20px;
  border-radius: 100px;
}

.open-proposal-frame:hover,
.open-proposal-frame:focus-within {
  background: transparent;
}

.open-proposal-frame .text-link {
  transition: opacity 180ms ease;
}

.open-proposal-frame:hover .text-link,
.open-proposal-frame:focus-within .text-link,
.open-proposal-frame .text-link:hover,
.open-proposal-frame .text-link:focus-visible {
  opacity: 0.55;
}

.open-proposal-frame .text-link:focus-visible {
  outline: none;
}

.hero-heading {
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  font-family: var(--font-serif);
  font-size: 64px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 70px;
  text-align: center;
}

.kicker {
  color: rgba(255, 255, 255, 0.72);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 18px;
  text-transform: uppercase;
}

.summary-copy {
  width: min(642px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 22px;
  text-align: center;
}

.text-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 18px;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.pill-button {
  appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 18px;
  padding: 15px 20px;
  text-transform: capitalize;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-button:hover,
.pill-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

.pill-button:disabled {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.34);
  cursor: default;
  transform: none;
}

.pill-button:disabled:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.34);
  transform: none;
}

.contract-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 100dvh;
  justify-content: flex-start;
  overflow: visible;
  padding: 120px 24px 48px;
}

.contract-doc {
  width: min(701px, 100%);
  flex-shrink: 0;
  margin: 0;
}

.doc-head {
  border-bottom: 1px solid rgba(244, 244, 242, 0.13);
  height: 165px;
  padding-bottom: 40px;
  text-align: center;
}

.doc-title {
  height: 64px;
  margin: 0;
  padding-top: 16px;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 48px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.doc-subtitle {
  width: min(640px, 100%);
  margin: 24px auto 0;
  color: rgba(244, 244, 242, 0.54);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 22px;
}

.recital {
  width: min(646px, 100%);
  margin: 24px 0 0;
  color: rgba(244, 244, 242, 0.64);
  font-size: 12.5px;
  font-weight: 300;
  line-height: 20px;
}

.section {
  height: auto;
  padding-top: 26px;
}

.contract-doc > .section:nth-of-type(2) {
  height: auto;
}

.contract-doc > .section:nth-of-type(3) {
  height: auto;
}

.contract-doc > .section:nth-of-type(4) {
  height: auto;
}

.contract-doc > .section:nth-of-type(5) {
  height: auto;
}

.contract-doc > .section:nth-of-type(6) {
  height: auto;
}

.contract-doc > .section:nth-of-type(7) {
  height: auto;
}

.contract-doc > .section:nth-of-type(8) {
  height: auto;
}

.contract-doc > .section:nth-of-type(9) {
  height: auto;
}

.contract-doc > .section:nth-of-type(10) {
  height: auto;
}

.contract-doc > .section:nth-of-type(11) {
  height: auto;
}

.contract-doc > .section:nth-of-type(12) {
  height: auto;
}

.contract-doc > .section:nth-of-type(13) {
  height: auto;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.section-number {
  flex: 0 0 20px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 18px;
}

.section-title {
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 22px;
}

.section-body {
  width: 100%;
  padding-left: 33px;
  padding-top: 9px;
}

.section-body p {
  margin: 0;
  color: rgba(244, 244, 242, 0.85);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.section-body p + p {
  margin-top: 8px;
}

.contract-doc > .section:nth-of-type(10) .section-body p {
  width: min(651px, 100%);
  color: rgba(244, 244, 242, 0.54);
  font-size: 14px;
  line-height: 18px;
}

.contract-doc > .section:nth-of-type(11) .section-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
}

.contract-doc > .section:nth-of-type(11) .section-body p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  width: min(666px, 100%);
}

.contract-doc > .section:nth-of-type(11) .section-body p:first-child {
  width: min(751px, 100%);
}

.contract-doc > .section:nth-of-type(11) .section-body p:last-child {
  width: min(666px, 100%);
}

.section-body strong {
  color: var(--paper);
  font-weight: 550;
}

.quiet {
  color: rgba(244, 244, 242, 0.54) !important;
  font-size: 14px !important;
  line-height: 18px !important;
}

.exhibit {
  border-top: 1px solid rgba(244, 244, 242, 0.13);
  height: auto;
  margin-top: 30px;
  padding-top: 28px;
}

.exhibit-intro {
  width: 100%;
  margin: 3px 0 0;
  padding-left: 33px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.exhibit-rows {
  width: 100%;
  padding-top: 14px;
}

.exhibit-row {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(244, 244, 242, 0.07);
  padding: 9px 0;
}

.exhibit-row:last-child {
  border-bottom: 0;
}

.exhibit-label {
  flex: 0 0 96px;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 18px;
}

.exhibit-value {
  flex: 1 1 0;
  min-width: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.signatures {
  display: flex;
  gap: 22px;
  width: 100%;
  height: 90px;
  margin-top: 42px;
  padding-top: 28px;
}

.signature-block {
  flex: 1 1 0;
  min-width: 0;
}

.signature-line {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #ffffff;
  cursor: text;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 5px;
  text-align: left;
}

.signature-line:hover,
.signature-line:focus-within {
  border-bottom-color: rgba(255, 255, 255, 0.84);
  outline: none;
}

.signature-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 22px;
  outline: 0;
  overflow: hidden;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signature-input.is-signed {
  font-family: "Yellowtail", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 24px;
  line-height: 28px;
}

.signature-input::placeholder {
  color: transparent;
}

.signature-meta {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.13em;
  line-height: 12px;
  text-transform: uppercase;
}

.doc-foot {
  margin-top: 42px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 300;
  line-height: 17px;
}

.doc-actions {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 32px;
}

.continue-button {
  min-width: 110px;
  padding: 11px 24px;
}

.success-screen {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
  min-height: 720px;
  justify-content: space-between;
  overflow: hidden;
  padding: min(290px, 28dvh) 24px min(340px, 33dvh);
}

.success-content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.success-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(804px, 100%);
}

.success-title-frame {
  width: 100%;
  padding-top: 20px;
}

.success-copy-frame {
  display: inline-block;
  max-width: 520px;
  padding-top: 18px;
}

.success-heading {
  width: 100%;
}

.success-copy {
  width: min(393px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 22px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding-top: 56px;
}

#download-pdf {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  height: 35px;
  padding: 15px 20px;
  border-radius: 100px;
  transition: opacity 180ms ease;
}

#download-pdf:hover,
#download-pdf:focus-visible {
  background: transparent;
  opacity: 0.55;
  outline: none;
}

@keyframes sunspell-page-in {
  from {
    opacity: 0;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes initial-page-in {
  from {
    opacity: 0;
    filter: blur(7px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes loader-line {
  0% {
    transform: translateX(-105%);
  }

  48%,
  58% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(105%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen {
    animation: none;
  }

  .app-shell.is-leaving .screen {
    transition: none;
    opacity: 1;
    filter: none;
  }

  .initial-loader {
    display: none;
  }

  body.is-initial-loading .screen,
  body.is-initial-ready .screen {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

@media (max-width: 900px) {
  .summary-screen {
    min-height: 0;
    padding: 18dvh 24px 40px;
  }

  .summary-content {
    min-height: 0;
    gap: 56px;
  }

  .summary-hero {
    gap: 40px;
  }

  .summary-head {
    min-height: 0;
  }

  .hero-heading {
    font-size: 56px;
    line-height: 62px;
  }

  .summary-title-frame {
    min-height: 82px;
  }

  .contract-screen {
    padding: 128px 32px 48px;
  }

  .contract-doc {
    width: min(701px, 100%);
  }

  .section,
  .contract-doc > .section:nth-of-type(2),
  .contract-doc > .section:nth-of-type(3),
  .contract-doc > .section:nth-of-type(4),
  .contract-doc > .section:nth-of-type(5),
  .contract-doc > .section:nth-of-type(6),
  .contract-doc > .section:nth-of-type(7),
  .contract-doc > .section:nth-of-type(8),
  .contract-doc > .section:nth-of-type(9),
  .contract-doc > .section:nth-of-type(10),
  .contract-doc > .section:nth-of-type(11),
  .contract-doc > .section:nth-of-type(12),
  .contract-doc > .section:nth-of-type(13) {
    height: auto;
  }

  .section {
    padding-top: 30px;
  }

  .exhibit {
    height: auto;
    min-height: 346px;
  }

  .success-screen {
    min-height: 0;
    padding: 22dvh 24px 20dvh;
  }

  .success-heading {
    font-size: 56px;
    line-height: 62px;
  }
}

@media (max-width: 640px) {
  .summary-screen {
    justify-content: center;
    padding: 48px 20px;
  }

  .summary-content {
    justify-content: center;
    gap: 34px;
    height: 100%;
    min-height: 0;
  }

  .summary-hero {
    gap: 28px;
  }

  .summary-title-frame {
    min-height: 62px;
    padding-top: 12px;
  }

  .hero-heading {
    font-size: 38px;
    line-height: 42px;
    letter-spacing: 0;
  }

  .kicker-frame {
    height: 32px;
    padding-top: 14px;
  }

  .kicker {
    font-size: 11px;
    letter-spacing: 0.13em;
    line-height: 14px;
  }

  .summary-copy {
    max-width: 320px;
    font-size: 13px;
    line-height: 19px;
  }

  .open-proposal-frame {
    height: 30px;
    padding: 10px 14px;
  }

  .pill-button {
    padding: 12px 18px;
  }

  .contract-screen {
    padding: 64px 20px 44px;
  }

  .doc-head {
    height: auto;
    padding-bottom: 28px;
  }

  .doc-title {
    height: auto;
    padding-top: 12px;
    font-size: 34px;
    line-height: 37px;
  }

  .doc-subtitle {
    margin-top: 18px;
    font-size: 13px;
    line-height: 20px;
  }

  .recital,
  .section-body p,
  .exhibit-intro,
  .exhibit-value {
    font-size: 13px;
    line-height: 19px;
  }

  .recital {
    width: 100%;
    margin-top: 22px;
  }

  .section-head {
    gap: 10px;
  }

  .section-number {
    flex-basis: 18px;
  }

  .section-title {
    min-width: 0;
    font-size: 17px;
    line-height: 21px;
  }

  .section-body {
    padding-left: 26px;
  }

  .exhibit {
    min-height: 0;
    margin-top: 28px;
  }

  .exhibit-intro {
    padding-left: 26px;
  }

  .exhibit-row {
    flex-direction: column;
    gap: 6px;
    padding: 13px 0;
  }

  .exhibit-label {
    flex-basis: auto;
    width: 100%;
    font-size: 13px;
    line-height: 17px;
  }

  .exhibit-value {
    width: 100%;
    padding-left: 26px;
  }

  .signatures {
    flex-direction: column;
    gap: 20px;
    height: auto;
    margin-top: 34px;
    padding-top: 22px;
  }

  .signature-input.is-signed {
    font-size: 22px;
  }

  .doc-foot {
    margin-top: 34px;
  }

  .success-screen {
    justify-content: center;
    padding: 48px 20px;
  }

  .success-content {
    flex: 0 1 auto;
    justify-content: center;
    gap: 32px;
    width: 100%;
  }

  .success-heading {
    font-size: 34px;
    line-height: 38px;
    letter-spacing: 0;
  }

  .success-copy-frame {
    padding-top: 12px;
  }

  .success-copy {
    max-width: 310px;
    font-size: 13px;
    line-height: 19px;
  }

  .success-actions {
    padding-top: 12px;
  }
}

@media (max-width: 380px), (max-height: 700px) {
  .summary-screen {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .summary-content {
    gap: 30px;
  }

  .summary-hero {
    gap: 24px;
  }

  .hero-heading,
  .success-heading {
    font-size: 34px;
    line-height: 38px;
  }

  .summary-copy {
    font-size: 12.5px;
    line-height: 18px;
  }

  .success-screen {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

.status {
  min-height: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 18px;
}

.status:empty {
  display: none;
}
